Skip to content

Commit

Permalink
Fixes round time
Browse files Browse the repository at this point in the history
  • Loading branch information
crystalin committed Jul 17, 2024
1 parent 21eb46e commit 7de7d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/list-collator-candidates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const main = async () => {

const candidateOffCount = candidateList.filter((c) => !c.isActive).length;
const nextRoundSeconds =
12 * (roundInfo.first.toNumber() + roundInfo.length.toNumber() - blockHeader.number.toNumber());
6 * (roundInfo.first.toNumber() + roundInfo.length.toNumber() - blockHeader.number.toNumber());

const printColoredNumber = (value: bigint, total: bigint) => {
const valueWithCommas = numberWithCommas(value / 10n ** 18n);
Expand Down

0 comments on commit 7de7d34

Please sign in to comment.