Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Sep 20, 2024
1 parent 9557a57 commit 07a83a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x/crosschain/keeper/evm_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down
3 changes: 1 addition & 2 deletions x/crosschain/keeper/v2_zevm_inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07a83a1

Please sign in to comment.