diff options
author | Jeremy Schlatter <jeremy.schlatter@gmail.com> | 2018-06-14 17:31:31 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-14 17:31:31 +0800 |
commit | 3fb5f3ae11b1807ff071059276fb679a306339f5 (patch) | |
tree | 1c28d04ce8c5a9abc1af6bd9cdc1e5529bb78284 /rpc/client.go | |
parent | e75d0a6e4ce132965aaa2fb1f8404fdbe101aa72 (diff) | |
download | dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar.gz dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar.bz2 dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar.lz dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar.xz dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.tar.zst dexon-3fb5f3ae11b1807ff071059276fb679a306339f5.zip |
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`.
Diffstat (limited to 'rpc/client.go')
0 files changed, 0 insertions, 0 deletions