mirror of https://github.com/ethereum/go-ethereum
ethclient: support networkID in hex format (#30263)
Some chains’ network IDs use hexadecimal such as Optimism ("0xa" instead of "10"), so when converting the string to big.Int, we cannot specify base 10; otherwise, it will encounter errors with hexadecimal network IDs.pull/30270/head
parent
dbc1d04f5e
commit
e9981bc6f7
Loading…
Reference in new issue