aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-08 23:37:06 +0800
committerobscuren <geffobscura@gmail.com>2015-01-08 23:37:06 +0800
commitb25126a277da5253e4ce175dec5b68ccdf1b9b0f (patch)
treeea076157ad8304145228f2483ba3c955fa646120 /core/genesis.go
parentdb4aaedcbdb409e17ea3de161e7b24a80ba0a58c (diff)
downloaddexon-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.gz
dexon-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.zst
dexon-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.zip
Minor fixed and additions for block proc
* Path check length * Genesis include TD * Output TD on last block
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 1590818a8..d9edaace2 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -25,6 +25,7 @@ func GenesisBlock(db ethutil.Database) *types.Block {
genesis.Header().GasLimit = big.NewInt(1000000)
genesis.Header().GasUsed = ethutil.Big0
genesis.Header().Time = 0
+ genesis.Td = ethutil.Big0
genesis.SetUncles([]*types.Header{})
genesis.SetTransactions(types.Transactions{})