go-ethereum/cmd/utils
Jeremy Schlatter 3fb5f3ae11 cmd/utils: fix NetworkId default when -dev is set (#16833)
Prior to this change, when geth was started with `geth -dev -rpc`,
it would report a network id of `1` in response to the `net_version` RPC
request. But the actual network id it used to verify transactions
was `1337`.

This change causes geth instead respond with `1337` to the `net_version`
RPC when geth is started with `geth -dev -rpc`.
2018-06-14 12:31:31 +03:00
..
cmd.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03:00
customflags.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
flags.go cmd/utils: fix NetworkId default when -dev is set (#16833) 2018-06-14 12:31:31 +03:00