diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-10 05:46:56 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-10 23:13:32 +0800 |
commit | 65a48f9cd8461917d8047b1cd4901d068b61ff00 (patch) | |
tree | 5c7dea2ed48bd9da6ceb3430940e89fde292917b /eth/backend.go | |
parent | 858a6f0be9da459a87004755dffae2c3fc5544d2 (diff) | |
download | dexon-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.gz dexon-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.zst dexon-65a48f9cd8461917d8047b1cd4901d068b61ff00.zip |
core: fixed race condition in the transaction pool
Removed `Stop/Start` mechanism from the transaction pool.
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/eth/backend.go b/eth/backend.go index fcbea04a2..60e9359dc 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -466,8 +466,6 @@ func (s *Ethereum) Start() error { s.StartAutoDAG() } - // Start services - go s.txPool.Start() s.protocolManager.Start() if s.whisper != nil { @@ -513,9 +511,6 @@ func (s *Ethereum) StartForTest() { ClientString: s.net.Name, ProtocolVersion: ProtocolVersion, }) - - // Start services - s.txPool.Start() } // AddPeer connects to the given node and maintains the connection until the |