aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/faucet/faucet.go6
-rw-r--r--cmd/utils/flags.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go
index 238d6884d..5a3e539e0 100644
--- a/cmd/faucet/faucet.go
+++ b/cmd/faucet/faucet.go
@@ -50,7 +50,7 @@ import (
"github.com/dexon-foundation/dexon/eth/downloader"
"github.com/dexon-foundation/dexon/ethclient"
"github.com/dexon-foundation/dexon/ethstats"
- "github.com/dexon-foundation/dexon/les"
+ "github.com/dexon-foundation/dexon/lds"
"github.com/dexon-foundation/dexon/log"
"github.com/dexon-foundation/dexon/node"
"github.com/dexon-foundation/dexon/p2p"
@@ -236,14 +236,14 @@ func newFaucet(genesis *core.Genesis, port int, enodes []*discv5.Node, network u
cfg.SyncMode = downloader.LightSync
cfg.NetworkId = network
cfg.Genesis = genesis
- return les.New(ctx, &cfg)
+ return lds.New(ctx, &cfg)
}); err != nil {
return nil, err
}
// Assemble the ethstats monitoring and reporting service'
if stats != "" {
if err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) {
- var serv *les.LightEthereum
+ var serv *lds.LightEthereum
ctx.Service(&serv)
return ethstats.New(stats, nil, serv)
}); err != nil {
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 6ac26d1fe..9ba6c5d38 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -46,7 +46,7 @@ import (
"github.com/dexon-foundation/dexon/eth/gasprice"
"github.com/dexon-foundation/dexon/ethdb"
"github.com/dexon-foundation/dexon/ethstats"
- "github.com/dexon-foundation/dexon/les"
+ "github.com/dexon-foundation/dexon/lds"
"github.com/dexon-foundation/dexon/log"
"github.com/dexon-foundation/dexon/metrics"
"github.com/dexon-foundation/dexon/metrics/influxdb"
@@ -1398,7 +1398,7 @@ func RegisterEthStatsService(stack *node.Node, url string) {
var ethServ *eth.Ethereum
ctx.Service(&ethServ)
- var lesServ *les.LightEthereum
+ var lesServ *lds.LightEthereum
ctx.Service(&lesServ)
return ethstats.New(url, ethServ, lesServ)