Skip to content

Commit

Permalink
remove conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Sep 23, 2024
1 parent f7f2a28 commit 34540d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/rollapp/keeper/msg_server_update_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (k msgServer) UpdateState(goCtx context.Context, msg *types.MsgUpdateState)
}

// check to see if received height is the one we expected
expectedStartHeight := stateInfo.StartHeight + uint64(stateInfo.NumBlocks())
expectedStartHeight := stateInfo.StartHeight + stateInfo.NumBlocks()
if expectedStartHeight != msg.StartHeight {
return nil, errorsmod.Wrapf(types.ErrWrongBlockHeight,
"expected height (%d), but received (%d)",
Expand Down

0 comments on commit 34540d9

Please sign in to comment.