diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-03 15:28:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:17 +0800 |
commit | 43b14136118d600f14a4ae706557fa14401047d2 (patch) | |
tree | 9595f648b2b369913d828023b458c152c7e76d33 /cmd/gdex/main.go | |
parent | d7f599a14d89e7ce1e9f2ab44a01e0d63c428f26 (diff) | |
download | go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.gz go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.bz2 go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.lz go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.xz go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.zst go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.zip |
test: start a separate RPC node for testing block sync
Diffstat (limited to 'cmd/gdex/main.go')
-rw-r--r-- | cmd/gdex/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go index 84a02cca4..0fb94b89e 100644 --- a/cmd/gdex/main.go +++ b/cmd/gdex/main.go @@ -97,7 +97,7 @@ var ( utils.ListenPortFlag, utils.MaxPeersFlag, utils.MaxPendingPeersFlag, - utils.ProposingEnabledFlag, + utils.BlockProposerEnabledFlag, utils.MiningEnabledFlag, utils.MinerThreadsFlag, utils.MinerLegacyThreadsFlag, @@ -358,7 +358,7 @@ func startNode(ctx *cli.Context, stack *node.Node) { } } - if ctx.GlobalBool(utils.ProposingEnabledFlag.Name) { + if ctx.GlobalBool(utils.BlockProposerEnabledFlag.Name) { if ctx.GlobalString(utils.SyncModeFlag.Name) == "light" { utils.Fatalf("Light clients do not support proposing") } |