From 71e85172ef2886a6caa75cfe94e918417ae6a629 Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 6 May 2019 14:56:01 +0800 Subject: lds: rename LightEthereum to LightDexon --- cmd/faucet/faucet.go | 2 +- cmd/utils/flags.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go index 5a3e539e0..f7cc4b6af 100644 --- a/cmd/faucet/faucet.go +++ b/cmd/faucet/faucet.go @@ -243,7 +243,7 @@ func newFaucet(genesis *core.Genesis, port int, enodes []*discv5.Node, network u // Assemble the ethstats monitoring and reporting service' if stats != "" { if err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { - var serv *lds.LightEthereum + var serv *lds.LightDexon ctx.Service(&serv) return ethstats.New(stats, nil, serv) }); err != nil { diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 9ba6c5d38..b064c95d2 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1398,7 +1398,7 @@ func RegisterEthStatsService(stack *node.Node, url string) { var ethServ *eth.Ethereum ctx.Service(ðServ) - var lesServ *lds.LightEthereum + var lesServ *lds.LightDexon ctx.Service(&lesServ) return ethstats.New(url, ethServ, lesServ) -- cgit v1.2.3