Skip to content

Commit

Permalink
fix(statemachine)!: 04-channel SendPacket now correctly returns `ErrC…
Browse files Browse the repository at this point in the history
…lientNotFound` in favour of `ErrConsensusStateNotFound` (#3593)

(cherry picked from commit 1f323ce)
  • Loading branch information
damiannolan authored and mergify[bot] committed May 17, 2023
1 parent 80e9f6a commit 89c77c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/04-channel/keeper/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (k Keeper) SendPacket(

clientState, found := k.clientKeeper.GetClientState(ctx, connectionEnd.GetClientID())
if !found {
return 0, clienttypes.ErrConsensusStateNotFound
return 0, clienttypes.ErrClientNotFound
}

// prevent accidental sends with clients that cannot be updated
Expand Down

0 comments on commit 89c77c0

Please sign in to comment.