From e552233512e0ccb1e296144d5446e2bb5b31212c Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 3 Nov 2018 15:28:45 +0800 Subject: test: start a separate RPC node for testing block sync --- cmd/gdex/main.go | 4 ++-- cmd/gdex/usage.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cmd/gdex') diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go index 270c8f7b4..376559ef3 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, @@ -357,7 +357,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") } diff --git a/cmd/gdex/usage.go b/cmd/gdex/usage.go index e8c2201ed..b9d4d1833 100644 --- a/cmd/gdex/usage.go +++ b/cmd/gdex/usage.go @@ -183,9 +183,9 @@ var AppHelpFlagGroups = []flagGroup{ }, }, { - Name: "PROPOSER", + Name: "BLOCK PROPOSER", Flags: []cli.Flag{ - utils.ProposingEnabledFlag, + utils.BlockProposerEnabledFlag, }, }, { -- cgit v1.2.3