Skip to content

Commit

Permalink
fix: return nil on OnRecvPacket for async pay (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking authored Feb 15, 2022
1 parent dedbb57 commit 6f19978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/apps/29-fee/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ func (im IBCModule) OnRecvPacket(
// incase of async aknowledgement (ack == nil) store the ForwardRelayer address for use later
if ack == nil && found {
im.keeper.SetForwardRelayerAddress(ctx, channeltypes.NewPacketId(packet.GetSourceChannel(), packet.GetSourcePort(), packet.GetSequence()), forwardRelayer)
return nil
}

return types.NewIncentivizedAcknowledgement(forwardRelayer, ack.Acknowledgement())
Expand Down

0 comments on commit 6f19978

Please sign in to comment.