goerli networkid changed to 6382

This commit is contained in:
priom 2018-09-08 15:03:24 -04:00
parent 8cbcd6d1f0
commit 6c50892c46
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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,