good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit ca34e823 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #16843 from karalabe/txpool-fix-deadlock

core: fix transaction event asynchronicity
parents 38c7eb0f 342ec83d
No related branches found
No related tags found
No related merge requests found
......@@ -962,7 +962,7 @@ func (pool *TxPool) promoteExecutables(accounts []common.Address) {
}
// Notify subsystem for new promoted transactions.
if len(promoted) > 0 {
pool.txFeed.Send(NewTxsEvent{promoted})
go pool.txFeed.Send(NewTxsEvent{promoted})
}
// If the pending limit is overflown, start equalizing allowances
pending := uint64(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment