You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ack := im.app.OnRecvPacket(ctx, packet, relayer)
if ack.Success() {
PacketForwardMiddleware will return nil here, so it seems that PFM transfers will cause this logic to error.
Amending the code as such allows nil returns to fall through as PFM intended. The logic below this point is only relevant to transfers from ICA accounts, that do not utilise PFM, so we can safely short-circuit here and return nil.
ack := im.app.OnRecvPacket(ctx, packet, relayer)
if ack == nil {
// transfer middleware can return nil
return nil
}
if ack.Success() {
The text was updated successfully, but these errors were encountered: