aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 04:09:29 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 04:09:29 +0800
commit08fd0715f9504edcc81029ffebee794b06fe4653 (patch)
tree22074be702d0d968b2c3bb670f18d1ed7dafa0c8 /core
parent26de12d9bf23bce7de26b3b6629601ec2e58ad5b (diff)
downloaddexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar.gz
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar.bz2
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar.lz
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar.xz
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.tar.zst
dexon-08fd0715f9504edcc81029ffebee794b06fe4653.zip
updated genesis
Diffstat (limited to 'core')
-rw-r--r--core/genesis.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 3e90aa91d..78c7a353a 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -28,6 +28,9 @@ func GenesisBlock(db ethutil.Database) *types.Block {
genesis.Header().GasLimit = big.NewInt(1000000)
genesis.Header().GasUsed = ethutil.Big0
genesis.Header().Time = 0
+ genesis.Header().MixDigest = make([]byte, 32)
+ genesis.Header().SeedHash = make([]byte, 32)
+
genesis.Td = ethutil.Big0
genesis.SetUncles([]*types.Header{})
@@ -50,6 +53,7 @@ func GenesisBlock(db ethutil.Database) *types.Block {
}
statedb.Sync()
genesis.Header().Root = statedb.Root()
+ fmt.Println(genesis)
return genesis
}