From e33e12c32bd64c3c2856c7ff4f021a6e8c8fad7b Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 14 Feb 2024 15:24:05 -0700 Subject: [PATCH] Add log --- cmd/process.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/process.go b/cmd/process.go index 53049a6..ff5b526 100644 --- a/cmd/process.go +++ b/cmd/process.go @@ -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 }