From 129e7ca23f7aaee9b228e5b0aaf02167db747bcc Mon Sep 17 00:00:00 2001 From: Sean King Date: Fri, 11 Feb 2022 17:04:27 +0100 Subject: [PATCH] fix: return nil on OnRecvPacket for async pay --- modules/apps/29-fee/ibc_module.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/apps/29-fee/ibc_module.go b/modules/apps/29-fee/ibc_module.go index cb5eb71b6d3..66319d6be58 100644 --- a/modules/apps/29-fee/ibc_module.go +++ b/modules/apps/29-fee/ibc_module.go @@ -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())