Skip to content

Commit 3a593b2

Browse files
fix(statemachine)!: 04-channel SendPacket now correctly returns ErrClientNotFound in favour of ErrConsensusStateNotFound (#3593) (#3598)
(cherry picked from commit 1f323ce) Co-authored-by: Damian Nolan <damiannolan@gmail.com>
1 parent 80e9f6a commit 3a593b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)