Set Testnet Network ID

This commit is contained in:
Julian Yap 2017-01-30 23:50:06 -10:00
parent b81d5a1fef
commit e78fca3782

View file

@ -747,7 +747,7 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) {
switch {
case ctx.GlobalBool(TestNetFlag.Name):
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
ethConf.NetworkId = 3
ethConf.NetworkId = 9
}
ethConf.Genesis = core.DefaultTestnetGenesisBlock()