Skip to content

Commit

Permalink
Update node/tx_checker.go
Browse files Browse the repository at this point in the history
Co-authored-by: beer-1 <[email protected]>
  • Loading branch information
sh-cha and beer-1 authored Dec 10, 2024
1 parent 140b1e0 commit 91edf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/tx_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (n *Node) txChecker(ctx types.Context, enableEventHandler bool) error {
} else if res != nil {
// tx found
height = res.Height
// it only handles the tx if node is only broadcasting txs, not processing blocks
// handle the transaction only if the node is broadcasting transactions and not processing blocks.
if enableEventHandler && len(n.eventHandlers) != 0 {
events := res.TxResult.GetEvents()
for eventIndex, event := range events {
Expand Down

0 comments on commit 91edf41

Please sign in to comment.