good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3fb5f3ae authored by Jeremy Schlatter's avatar Jeremy Schlatter Committed by Péter Szilágyi
Browse files

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`.
parent e75d0a6e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment