diff options
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eth/backend.go b/eth/backend.go index 8d5da01fd..e7eae99af 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -127,7 +127,6 @@ type Ethereum struct { miner *miner.Miner RpcServer rpc.RpcServer - WsServer rpc.RpcServer keyManager *crypto.KeyManager logger logger.LogSystem @@ -285,9 +284,7 @@ func (s *Ethereum) Stop() { if s.RpcServer != nil { s.RpcServer.Stop() } - if s.WsServer != nil { - s.WsServer.Stop() - } + s.txPool.Stop() s.eventMux.Stop() s.blockPool.Stop() |