Skip to content

Commit

Permalink
add error check for legacy tx
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Feb 14, 2024
1 parent 525eedc commit 066bac3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/crosschain/keeper/evm_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ func (k Keeper) ProcessLogs(ctx sdk.Context, logs []*ethtypes.Log, emittingContr
return err
}
}
// We were unable to parse the ZRC20 withdrawal event
if err != nil && eventWithdrawal == nil {
ctx.Logger().Error("Error parsing ZRC20 withdrawal event: %s", err.Error())
}
// We were able to parse the ZRC20 withdrawal event, but we were unable to process it as the information was incorrect
if err != nil && eventWithdrawal != nil {
ctx.Logger().Error(fmt.Sprintf("Error processing ZRC20 withdrawal event , from Address: %s m ,to : %s,value %s,gasfee %s, protocolfee %s, err %s",
Expand Down

0 comments on commit 066bac3

Please sign in to comment.