Skip to content

Commit

Permalink
removed redundant setting of block height
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanjl committed Nov 16, 2023
1 parent ac83964 commit e3d75e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/abci/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,6 @@ func (a *AbciApp) EndBlock(e abciTypes.RequestEndBlock) abciTypes.ResponseEndBlo
panic(fmt.Sprintf("failed to finalize validator updates: %v", err))
}

a.blockHeight = e.Height

valUpdates := make([]abciTypes.ValidatorUpdate, len(a.valUpdates))
for i, up := range a.valUpdates {
valUpdates[i] = abciTypes.Ed25519ValidatorUpdate(up.PubKey, up.Power)
Expand Down

0 comments on commit e3d75e5

Please sign in to comment.