Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Feb 14, 2024
1 parent 11ac131 commit e33e12c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ func filterLowTransfers(cfg *types.Config, logger log.Logger, msg *types.Message
return true
}

logger.Info(
"Not filtering tx due to low transfer amount",
"source_domain", msg.SourceDomain,
"source_tx", msg.SourceTxHash,
"amount", bm.Amount.Uint64(),
"min_amount", cfg.MinAmount,
)

return false
}

Expand Down

0 comments on commit e33e12c

Please sign in to comment.