aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-10 05:46:56 +0800
committerobscuren <geffobscura@gmail.com>2015-06-10 23:13:32 +0800
commit65a48f9cd8461917d8047b1cd4901d068b61ff00 (patch)
tree5c7dea2ed48bd9da6ceb3430940e89fde292917b /eth/backend.go
parent858a6f0be9da459a87004755dffae2c3fc5544d2 (diff)
downloadgo-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar
go-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.gz
go-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.bz2
go-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.lz
go-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.xz
go-tangerine-65a48f9cd8461917d8047b1cd4901d068b61ff00.tar.zst
go-tangerine-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.go5
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