Skip to content

cmd/geth: respect --dev=false#34920

Merged
rjl493456442 merged 1 commit into
ethereum:masterfrom
RekCuy63:fix-geth-dev-false
May 11, 2026
Merged

cmd/geth: respect --dev=false#34920
rjl493456442 merged 1 commit into
ethereum:masterfrom
RekCuy63:fix-geth-dev-false

Conversation

@RekCuy63
Copy link
Copy Markdown
Contributor

Passing --dev=false currently still enters the dev-mode startup path because a couple of branches check whether the flag was set, not its boolean value.

This switches those branches to use ctx.Bool, so explicit false does not start dev mode or emit a dev genesis, while --dev keeps its existing behavior.

@rjl493456442 rjl493456442 added this to the 1.17.3 milestone May 11, 2026
@rjl493456442 rjl493456442 merged commit 2f11dcc into ethereum:master May 11, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants