diff options
Diffstat (limited to 'ethstats')
-rw-r--r-- | ethstats/ethstats.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index e027e0fe5..f285eeca0 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -69,10 +69,10 @@ type blockChain interface { // Service implements an Ethereum netstats reporting daemon that pushes local // chain statistics up to a monitoring server. type Service struct { - server *p2p.Server // Peer-to-peer server to retrieve networking infos - eth *eth.Ethereum // Full Ethereum service if monitoring a full node - les *lds.LightEthereum // Light Ethereum service if monitoring a light node - engine consensus.Engine // Consensus engine to retrieve variadic block fields + server *p2p.Server // Peer-to-peer server to retrieve networking infos + eth *eth.Ethereum // Full Ethereum service if monitoring a full node + les *lds.LightDexon // Light Ethereum service if monitoring a light node + engine consensus.Engine // Consensus engine to retrieve variadic block fields node string // Name of the node to display on the monitoring page pass string // Password to authorize access to the monitoring page @@ -83,7 +83,7 @@ type Service struct { } // New returns a monitoring service ready for stats reporting. -func New(url string, ethServ *eth.Ethereum, lesServ *lds.LightEthereum) (*Service, error) { +func New(url string, ethServ *eth.Ethereum, lesServ *lds.LightDexon) (*Service, error) { // Parse the netstats connection url re := regexp.MustCompile("([^:@]*)(:([^@]*))?@(.+)") parts := re.FindStringSubmatch(url) |