Fix block indexing log
This commit is contained in:
parent
8ca3f6e72b
commit
9a71c15b49
@ -218,6 +218,7 @@ class Blocks {
|
||||
break;
|
||||
}
|
||||
++indexedThisRun;
|
||||
++totaIndexed;
|
||||
const elapsedSeconds = Math.max(1, Math.round((new Date().getTime() / 1000) - timer));
|
||||
if (elapsedSeconds > 5 || blockHeight === lastBlockToIndex) {
|
||||
const runningFor = Math.max(1, Math.round((new Date().getTime() / 1000) - startedAt));
|
||||
|
Loading…
x
Reference in New Issue
Block a user