Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Feb 15, 2024
1 parent a9dae04 commit e263fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/distribution/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper)
// ref https://github.com/cosmos/cosmos-sdk/issues/3095
blockHeight := ctx.BlockHeight()
// only allocate rewards if the block height is greater than 1
// and for every multiple of 10 blocks for performance reasons.
// and for every multiple of 20 blocks for performance reasons.
if blockHeight > 1 && blockHeight%BlockMultipleToDistributeRewards == 0 {
// determine the total power signing the block
var previousTotalPower int64
Expand Down

0 comments on commit e263fe0

Please sign in to comment.