core: fix transaction event asynchronicity

pull/16843/head
Péter Szilágyi 7 years ago
parent 38c7eb0f26
commit 342ec83d67
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
  1. 2
      core/tx_pool.go

@ -962,7 +962,7 @@ func (pool *TxPool) promoteExecutables(accounts []common.Address) {
} }
// Notify subsystem for new promoted transactions. // Notify subsystem for new promoted transactions.
if len(promoted) > 0 { if len(promoted) > 0 {
pool.txFeed.Send(NewTxsEvent{promoted}) go pool.txFeed.Send(NewTxsEvent{promoted})
} }
// If the pending limit is overflown, start equalizing allowances // If the pending limit is overflown, start equalizing allowances
pending := uint64(0) pending := uint64(0)

Loading…
Cancel
Save