Skip to content

Commit

Permalink
Update state/execution.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sujong Lee <[email protected]>
  • Loading branch information
zsystm and dudong2 authored Aug 13, 2024
1 parent e015ae6 commit 1c84414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func (blockExec *BlockExecutor) applyBlock(state State, blockID types.BlockID, b
blockExec.metrics.ConsensusParamUpdates.Add(1)
}

if block.Height == types.PriorityResetHeightInterval {
if block.Height%types.PriorityResetHeightInterval == 0 {
state.NextValidators.ResetPriorities()
}

Expand Down

0 comments on commit 1c84414

Please sign in to comment.