Update cmd/utils/flags.go

This commit is contained in:
jwasinger 2025-05-13 23:04:21 +08:00 committed by GitHub
parent 729b10c0d2
commit cf0abcc400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1760,7 +1760,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
case ctx.Bool(DeveloperFlag.Name):
cfg.NetworkId = 1337
cfg.SyncMode = ethconfig.FullSync
// force-enable this in --dev mode
cfg.EnablePreimageRecording = true
// Create new developer account or reuse existing one
var (