Skip to content

Commit

Permalink
chore: error wording
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Nov 12, 2021
1 parent ae5b01e commit 5e869e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/02-client/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (k Keeper) GetLatestClientConsensusState(ctx sdk.Context, clientID string)
func (k Keeper) GetSelfConsensusState(ctx sdk.Context, height exported.Height) (exported.ConsensusState, error) {
selfHeight, ok := height.(types.Height)
if !ok {
return nil, sdkerrors.ErrInvalidType.Wrapf("cannot cast %T to %T", height, types.Height{})
return nil, sdkerrors.ErrInvalidType.Wrapf("unable cast %T to %T", height, types.Height{})
}
// check that height revision matches chainID revision
revision := types.ParseChainID(ctx.ChainID())
Expand Down

0 comments on commit 5e869e4

Please sign in to comment.