Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: check timeouts directly in channel/v2 #7464

Merged
merged 13 commits into from
Oct 23, 2024
Merged
Prev Previous commit
Next Next commit
Merge branch 'feat/ibc-eureka' into damian/7414-timeouts
damiannolan committed Oct 21, 2024
commit cc45517564e61864eda4c95f666f0e391a6fac57
2 changes: 1 addition & 1 deletion modules/core/04-channel/v2/keeper/packet.go
Original file line number Diff line number Diff line change
@@ -280,7 +280,7 @@ func (k *Keeper) timeoutPacket(
) error {
channel, ok := k.GetChannel(ctx, packet.SourceChannel)
if !ok {
return errorsmod.Wrap(types.ErrChannelNotFound, packet.DestinationChannel)
return errorsmod.Wrap(types.ErrChannelNotFound, packet.SourceChannel)
}

if channel.CounterpartyChannelId != packet.DestinationChannel {
You are viewing a condensed version of this merge commit. You can view the full changes here.