aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gdex')
-rw-r--r--cmd/gdex/main.go4
-rw-r--r--cmd/gdex/usage.go4
2 files changed, 4 insertions, 4 deletions
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,
},
},
{