From fcc0fd6340ee12ed7bc1ca937320644a2172de26 Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Fri, 10 Nov 2023 13:26:20 +0100 Subject: [PATCH] Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: insumity --- x/ccv/provider/keeper/misbehaviour.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/provider/keeper/misbehaviour.go b/x/ccv/provider/keeper/misbehaviour.go index daf48c5dac..e03c24b627 100644 --- a/x/ccv/provider/keeper/misbehaviour.go +++ b/x/ccv/provider/keeper/misbehaviour.go @@ -156,7 +156,7 @@ func (k Keeper) CheckMisbehaviour(ctx sdk.Context, misbehaviour ibctmtypes.Misbe ) } - clientState, found := k.clientKeeper.GetClientState(ctx, misbehaviour.GetClientID()) + clientState, found := k.clientKeeper.GetClientState(ctx, clientId) if !found { return sdkerrors.Wrapf(ibcclienttypes.ErrClientNotFound, "cannot check misbehaviour for client with ID %s", misbehaviour.GetClientID()) }