diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-20 18:01:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-20 18:01:20 +0800 |
commit | 97b0c4b6978d7fd972f3b0991acca1227e4e83dc (patch) | |
tree | 8c6f35d6e82fa809a06694635c331bb8103b8907 /core/genesis.go | |
parent | fa729a0c55aa4b00c2ac33d0fcee8acabed2f737 (diff) | |
download | dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar.gz dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar.bz2 dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar.lz dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar.xz dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.tar.zst dexon-97b0c4b6978d7fd972f3b0991acca1227e4e83dc.zip |
core: moved TD calculation from proc to chain
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go index 8ef1e140f..37997fbef 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -52,6 +52,7 @@ func GenesisBlock(db common.Database) *types.Block { } statedb.Sync() genesis.Header().Root = statedb.Root() + genesis.Td = params.GenesisDifficulty return genesis } |