diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-03 15:28:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:52 +0800 |
commit | e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e (patch) | |
tree | faa67b9219e93810cb4edb686c074ef2263b604b /cmd/gdex/main.go | |
parent | 1b8ce702f45aa122ea0d89655c5fdef5e6ddb37e (diff) | |
download | dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar.gz dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar.bz2 dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar.lz dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar.xz dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.tar.zst dexon-e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e.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") } |