Skip to content

Commit 342ec83

Browse files
committed
core: fix transaction event asynchronicity
1 parent 38c7eb0 commit 342ec83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tx_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ func (pool *TxPool) promoteExecutables(accounts []common.Address) {
962962
}
963963
// Notify subsystem for new promoted transactions.
964964
if len(promoted) > 0 {
965-
pool.txFeed.Send(NewTxsEvent{promoted})
965+
go pool.txFeed.Send(NewTxsEvent{promoted})
966966
}
967967
// If the pending limit is overflown, start equalizing allowances
968968
pending := uint64(0)

0 commit comments

Comments
 (0)