core: fixed race condition in the transaction pool

Removed `Stop/Start` mechanism from the transaction pool.
This commit is contained in:
obscuren
2015-06-09 23:46:56 +02:00
parent 858a6f0be9
commit 65a48f9cd8
2 changed files with 30 additions and 35 deletions

View File

@ -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