Disable difficulty adjustment table for now until loadMore is implemented

This commit is contained in:
nymkappa
2022-02-22 23:32:14 +09:00
parent 824f7ae346
commit e941787cd7
3 changed files with 4 additions and 4 deletions

View File

@@ -162,7 +162,7 @@ class Mining {
}
// Add genesis block manually
if (!indexedTimestamp.includes(genesisTimestamp)) {
if (toTimestamp <= genesisTimestamp && !indexedTimestamp.includes(genesisTimestamp)) {
hashrates.push({
hashrateTimestamp: genesisTimestamp,
avgHashrate: await bitcoinClient.getNetworkHashPs(1, 1),