From 5f7b41cc90eaa81c760655b4f1194447f040bbc4 Mon Sep 17 00:00:00 2001 From: olegfomenko Date: Thu, 28 Mar 2024 13:15:38 +0200 Subject: [PATCH] adding log --- internal/services/evm/tree_changed_listener.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/services/evm/tree_changed_listener.go b/internal/services/evm/tree_changed_listener.go index 9eaeb11..777b6f6 100644 --- a/internal/services/evm/tree_changed_listener.go +++ b/internal/services/evm/tree_changed_listener.go @@ -165,6 +165,8 @@ func (l *listener) processEvents(ctx context.Context, iter *worldid.WorldIdTreeC l.log.WithError(err).WithField("tx_hash", evt.Raw.TxHash.String()).Error(err, "failed to broadcast WorldCoin identity transfer msg") continue } + + l.log.WithField("tx_hash", evt.Raw.TxHash.String()).WithField("state", msg.State).Debug("Message has been broadcast") } }