• Jeremy Schlatter's avatar
    cmd/utils: fix NetworkId default when -dev is set (#16833) · 3fb5f3ae
    Jeremy Schlatter authored
    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`.
    3fb5f3ae
Name
Last commit
Last update
..
abigen Loading commit data...
bootnode Loading commit data...
clef Loading commit data...
ethkey Loading commit data...
evm Loading commit data...
faucet Loading commit data...
geth Loading commit data...
internal/browser Loading commit data...
p2psim Loading commit data...
puppeth Loading commit data...
rlpdump Loading commit data...
swarm Loading commit data...
utils Loading commit data...
wnode Loading commit data...