mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
goerli networkid changed to 6382
This commit is contained in:
parent
8cbcd6d1f0
commit
6c50892c46
2 changed files with 2 additions and 2 deletions
|
|
@ -1211,7 +1211,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *eth.Config) {
|
|||
cfg.Genesis = core.DefaultRinkebyGenesisBlock()
|
||||
case ctx.GlobalBool(GoerliFlag.Name):
|
||||
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
|
||||
cfg.NetworkId = 5
|
||||
cfg.NetworkId = 6283
|
||||
}
|
||||
cfg.Genesis = core.DefaultGoerliGenesisBlock()
|
||||
case ctx.GlobalBool(DeveloperFlag.Name):
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ var (
|
|||
|
||||
// GoerliChainConfig contains the chain parameters to run a node on the Goerli test network.
|
||||
GoerliChainConfig = &ChainConfig{
|
||||
ChainID: big.NewInt(5),
|
||||
ChainID: big.NewInt(6382),
|
||||
HomesteadBlock: big.NewInt(2),
|
||||
DAOForkBlock: nil,
|
||||
DAOForkSupport: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue