Skip to content

Commit

Permalink
adding log
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Mar 27, 2024
1 parent 4cf0544 commit d3870bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/services/evm/tree_changed_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ func (l *listener) processEvents(ctx context.Context, iter *worldid.WorldIdTreeC
continue
}

l.log.WithField("tx_hash", evt.Raw.TxHash.String()).WithField("state", msg.State).Debug("Broadcasting new operation")

if err = l.broadcaster.BroadcastTx(ctx, msg); err != nil {
l.log.WithError(err).WithField("tx_hash", evt.Raw.TxHash.String()).Error(err, "failed to broadcast WorldCoin identity transfer msg")
continue
Expand Down

0 comments on commit d3870bd

Please sign in to comment.