From 4d9050f0e6d90acd0f2d0bb6521a4d69e6dfab8d Mon Sep 17 00:00:00 2001 From: zakir <80246097+zakir-code@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:33:51 +0800 Subject: [PATCH] fix: add missing argument in onRevert call (#844) --- x/crosschain/keeper/bridge_call_in.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/crosschain/keeper/bridge_call_in.go b/x/crosschain/keeper/bridge_call_in.go index 35136d0a..12dda380 100644 --- a/x/crosschain/keeper/bridge_call_in.go +++ b/x/crosschain/keeper/bridge_call_in.go @@ -91,7 +91,7 @@ func (k Keeper) BridgeCallHandler(ctx sdk.Context, msg *types.MsgBridgeCallClaim // onRevert bridgecall _, err = k.AddOutgoingBridgeCall(ctx, msg.GetToAddr(), common.Address{}, sdk.NewCoins(), - msg.GetSenderAddr(), []byte(revertMsg), []byte{}, msg.EventNonce) + msg.GetSenderAddr(), []byte(revertMsg), []byte{}, 0, msg.EventNonce) return err }