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)
  • Loading branch information
damiannolan authored May 17, 2023
1 parent d3b6280 commit 1f323ce
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 1f323ce

Please sign in to comment.