aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-08-07 19:25:08 +0800
committerGitHub <noreply@github.com>2017-08-07 19:25:08 +0800
commitb36f54c684e138895d980e210a03516db109dd47 (patch)
tree71f5b9af1add50ce013364d7c784c55c4610526d
parent3991745c5f72033bdefb1ca5931f48857d8d9973 (diff)
parent3780d0b6f7722b506371fb197924a1087fa90a8c (diff)
downloaddexon-b36f54c684e138895d980e210a03516db109dd47.tar.gz
dexon-b36f54c684e138895d980e210a03516db109dd47.tar.zst
dexon-b36f54c684e138895d980e210a03516db109dd47.zip
Merge pull request #14918 from egonelbre/megacheck_ethstats
ethstats: fix megacheck warnings
-rw-r--r--ethstats/ethstats.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go
index 333c975c9..b75c5e6da 100644
--- a/ethstats/ethstats.go
+++ b/ethstats/ethstats.go
@@ -39,7 +39,6 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/les"
"github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/rpc"
"golang.org/x/net/websocket"
@@ -52,8 +51,6 @@ const historyUpdateRange = 50
// Service implements an Ethereum netstats reporting daemon that pushes local
// chain statistics up to a monitoring server.
type Service struct {
- stack *node.Node // Temporary workaround, remove when API finalized
-
server *p2p.Server // Peer-to-peer server to retrieve networking infos
eth *eth.Ethereum // Full Ethereum service if monitoring a full node
les *les.LightEthereum // Light Ethereum service if monitoring a light node