diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:16:16 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-04 03:16:16 +0800 |
commit | b1603f166e36de5959e780c8e8fc866ae3ceeca0 (patch) | |
tree | 25ef99f9acf93648698a02c399021eedd29a4afc /eth/backend.go | |
parent | 6e50a1e9f59532671eaa2bb2f2081a67f659bd0d (diff) | |
parent | 4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8 (diff) | |
download | dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.gz dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.bz2 dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.lz dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.xz dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.tar.zst dexon-b1603f166e36de5959e780c8e8fc866ae3ceeca0.zip |
Merge pull request #408 from tgerring/removews
Remove Websockets RPC transport
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 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() |