diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-21 15:06:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:21:31 +0800 |
commit | 20d12131b5b411a35558fa13a8bc86ec66d7923a (patch) | |
tree | 1d0a89371d9b87c592f86685e04d38e6b70814e3 /cmd | |
parent | 8e483e2f87cdccd924ce2261ac3a5ec8b58aaf05 (diff) | |
download | go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar.gz go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar.bz2 go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar.lz go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar.xz go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.tar.zst go-tangerine-20d12131b5b411a35558fa13a8bc86ec66d7923a.zip |
dex: make geth buildable and update interface skeleton
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/utils/flags.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 052660ba1..b75a67ca5 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -40,6 +40,7 @@ import ( "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/dashboard" + "github.com/ethereum/go-ethereum/dex" "github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/eth/downloader" "github.com/ethereum/go-ethereum/eth/gasprice" @@ -1330,11 +1331,11 @@ func RegisterEthService(stack *node.Node, cfg *eth.Config) { }) } else { err = stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { - fullNode, err := eth.New(ctx, cfg) - if fullNode != nil && cfg.LightServ > 0 { - ls, _ := les.NewLesServer(fullNode, cfg) - fullNode.AddLesServer(ls) - } + fullNode, err := dex.New(ctx, cfg) + //if fullNode != nil && cfg.LightServ > 0 { + // ls, _ := les.NewLesServer(fullNode, cfg) + // fullNode.AddLesServer(ls) + //} return fullNode, err }) } |