From 342ec83d679674220c4d6a49b507ea30084ae051 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Wed, 30 May 2018 10:14:00 +0300 Subject: core: fix transaction event asynchronicity --- core/tx_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/tx_pool.go b/core/tx_pool.go index 1c9516b1b..7393c8286 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -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) -- cgit