Skip to content

Commit

Permalink
Log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Klobusnik committed Jul 10, 2021
1 parent b8fce51 commit da98ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function compareBlocks(refName, refCurrent, refCurrentTimestamp) {

let lagTime = (current0 == refCurrent ? (refCurrentTimestamp - currentTimestamp0) / 1000 : undefined)
log.info("" + (first ? "New" : "Received") + " block from " + refName + " #" + refCurrent +
(lag != 0 ? ", LAG: " + lag: "") + (lagTime ? ", LAG time: " + lagTime + " sec " : "") + (first ? " -> WINNER": ""));
(lag != 0 ? ", LAG blocks: " + lag: "") + (lagTime ? ", LAG time: " + lagTime + " sec " : "") + (first ? " -> WINNER": ""));
}


Expand Down

0 comments on commit da98ef0

Please sign in to comment.