aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 06:01:36 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 06:08:46 +0800
commit63758db37977bf4a2bd13cd360432c520dd77dd8 (patch)
tree41785269469a6d8d210288dae45c9d4c38a82885
parent6a7e02fc9f7c7a92181ecdf3ce70dbdad3cb000e (diff)
downloaddexon-63758db37977bf4a2bd13cd360432c520dd77dd8.tar.gz
dexon-63758db37977bf4a2bd13cd360432c520dd77dd8.tar.zst
dexon-63758db37977bf4a2bd13cd360432c520dd77dd8.zip
eth: delete unused RpcServer field
-rw-r--r--eth/backend.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 680cc175a..28ed0bbe8 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -20,7 +20,6 @@ import (
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/nat"
- "github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/whisper"
)
@@ -124,8 +123,6 @@ type Ethereum struct {
blockSub event.Subscription
miner *miner.Miner
- RpcServer rpc.RpcServer
-
logger logger.LogSystem
Mining bool
@@ -268,10 +265,6 @@ func (s *Ethereum) Stop() {
s.txSub.Unsubscribe() // quits txBroadcastLoop
s.blockSub.Unsubscribe() // quits blockBroadcastLoop
- if s.RpcServer != nil {
- s.RpcServer.Stop()
- }
-
s.txPool.Stop()
s.eventMux.Stop()
s.blockPool.Stop()