Skip to content

Commit 1f323ce

Browse files
authoredMay 17, 2023
fix(statemachine)!: 04-channel SendPacket now correctly returns ErrClientNotFound in favour of ErrConsensusStateNotFound (#3593)
1 parent d3b6280 commit 1f323ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎modules/core/04-channel/keeper/packet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (k Keeper) SendPacket(
6767

6868
clientState, found := k.clientKeeper.GetClientState(ctx, connectionEnd.GetClientID())
6969
if !found {
70-
return 0, clienttypes.ErrConsensusStateNotFound
70+
return 0, clienttypes.ErrClientNotFound
7171
}
7272

7373
// prevent accidental sends with clients that cannot be updated

0 commit comments

Comments
 (0)