diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-01 23:19:06 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-01 23:19:06 +0800 |
commit | cfe037028081ebb84ee35caa5b16fed5d125b58a (patch) | |
tree | 2e0a549f5c094fe182b05b88736830456ede717d /eth | |
parent | ad3a21f260a0b13048046f6c76fe5f47bdcc46de (diff) | |
download | go-tangerine-cfe037028081ebb84ee35caa5b16fed5d125b58a.tar.gz go-tangerine-cfe037028081ebb84ee35caa5b16fed5d125b58a.tar.zst go-tangerine-cfe037028081ebb84ee35caa5b16fed5d125b58a.zip |
Remove Websockets RPC transport
Diffstat (limited to 'eth')
-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 f67f9c78b..3490fb386 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 ethlogger.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() |