Skip to content

Commit

Permalink
Count the validators active for the block being added
Browse files Browse the repository at this point in the history
  • Loading branch information
hewison-chris committed Apr 20, 2022
1 parent 3ad1781 commit 92cedba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/agora/consensus/state/Ledger.d
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public class Ledger
log.info("Transactions: {} - Enrollments: {}",
block.txs.length, block.header.enrollments.length);
log.info("Validators: Active: {} - Signing: {} - Slashed: {}",
this.validatorCount(block.header.height + 1),
block.header.validators.count(),
block.header.validators,
block.header.preimages.count!(h => h is Hash.init));
// Keep track of the fees generated by this block, before updating the
Expand Down

0 comments on commit 92cedba

Please sign in to comment.