OSDN Git Service

Add subnet having the same network ID isolation function (#57)
[bytom/vapor.git] / config / genesis.go
index d25a78a..f588962 100644 (file)
@@ -124,8 +124,9 @@ func soloNetGenesisBlock() *types.Block {
 // GenesisBlock will return genesis block
 func GenesisBlock() *types.Block {
        return map[string]func() *types.Block{
-               "main": mainNetGenesisBlock,
-               "test": testNetGenesisBlock,
-               "solo": soloNetGenesisBlock,
+               "main":  mainNetGenesisBlock,
+               "test":  testNetGenesisBlock,
+               "solo":  soloNetGenesisBlock,
+               "vapor": soloNetGenesisBlock,
        }[consensus.ActiveNetParams.Name]()
 }