diff options
author | Sonic <sonic@dexon.org> | 2019-05-06 14:56:01 +0800 |
---|---|---|
committer | Sonic <sonic@dexon.org> | 2019-05-06 14:56:01 +0800 |
commit | 71e85172ef2886a6caa75cfe94e918417ae6a629 (patch) | |
tree | db2df5bda5a1ecde7516b68a24dc3d71e2e944f5 /cmd | |
parent | fb9741ac8feeab30be376a1574cb4e935f8d5ae2 (diff) | |
download | dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar.gz dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar.bz2 dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar.lz dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar.xz dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.tar.zst dexon-71e85172ef2886a6caa75cfe94e918417ae6a629.zip |
lds: rename LightEthereum to LightDexon
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/faucet/faucet.go | 2 | ||||
-rw-r--r-- | cmd/utils/flags.go | 2 |
2 files changed, 2 insertions, 2 deletions
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) |