From 07a83a125436c910133fb983a90de7b298978e04 Mon Sep 17 00:00:00 2001 From: skosito Date: Sat, 21 Sep 2024 01:02:01 +0200 Subject: [PATCH] lint --- x/crosschain/keeper/evm_hooks.go | 2 +- x/crosschain/keeper/v2_zevm_inbound.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/x/crosschain/keeper/evm_hooks.go b/x/crosschain/keeper/evm_hooks.go index 0800088204..e1a8cf3eeb 100644 --- a/x/crosschain/keeper/evm_hooks.go +++ b/x/crosschain/keeper/evm_hooks.go @@ -87,7 +87,7 @@ func (k Keeper) ProcessLogs( // run the processing for the v1 and the v2 protocol contracts for _, log := range logs { if !crypto.IsEmptyAddress(gatewayAddr) { - if err := k.ProcessZEVMInboundV2(ctx, log, gatewayAddr, emittingAddress, txOrigin); err != nil { + if err := k.ProcessZEVMInboundV2(ctx, log, gatewayAddr, txOrigin); err != nil { return errors.Wrap(err, "failed to process ZEVM inbound V2") } } diff --git a/x/crosschain/keeper/v2_zevm_inbound.go b/x/crosschain/keeper/v2_zevm_inbound.go index 5746c8c08d..9efc5e1e2e 100644 --- a/x/crosschain/keeper/v2_zevm_inbound.go +++ b/x/crosschain/keeper/v2_zevm_inbound.go @@ -26,8 +26,7 @@ import ( func (k Keeper) ProcessZEVMInboundV2( ctx sdk.Context, log *ethtypes.Log, - gatewayAddr, - from ethcommon.Address, + gatewayAddr ethcommon.Address, txOrigin string, ) error { // try to parse a withdrawal event from the log