Skip to content

Commit

Permalink
Use wrap instead of wrapf (#7796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noulodado authored Dec 23, 2024
1 parent e10bbbc commit 6909b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/light-clients/07-tendermint/client_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (cs ClientState) Validate() error {
"latest height revision number must match chain id revision number (%d != %d)", cs.LatestHeight.RevisionNumber, clienttypes.ParseChainID(cs.ChainId))
}
if cs.LatestHeight.RevisionHeight == 0 {
return errorsmod.Wrapf(ErrInvalidHeaderHeight, "tendermint client's latest height revision height cannot be zero")
return errorsmod.Wrap(ErrInvalidHeaderHeight, "tendermint client's latest height revision height cannot be zero")
}
if cs.TrustingPeriod >= cs.UnbondingPeriod {
return errorsmod.Wrapf(
Expand Down

0 comments on commit 6909b27

Please sign in to comment.