Skip to content

Commit

Permalink
Update x/ccv/provider/keeper/misbehaviour.go
Browse files Browse the repository at this point in the history
Co-authored-by: insumity <[email protected]>
  • Loading branch information
sainoe and insumity authored Nov 10, 2023
1 parent 53098cf commit fcc0fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit fcc0fd6

Please sign in to comment.