From 5e869e4154723afebefc017500c0c0f13be404e5 Mon Sep 17 00:00:00 2001 From: technicallyty <48813565+tytech3@users.noreply.github.com> Date: Thu, 11 Nov 2021 18:04:56 -0800 Subject: [PATCH] chore: error wording --- modules/core/02-client/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/02-client/keeper/keeper.go b/modules/core/02-client/keeper/keeper.go index ec2b0d06296..3bf988e3e37 100644 --- a/modules/core/02-client/keeper/keeper.go +++ b/modules/core/02-client/keeper/keeper.go @@ -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())