diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-15 18:24:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-15 18:24:29 +0800 |
commit | f6669db0010892d06722ae992baaf4a228d4467a (patch) | |
tree | 3f7935bd9dc760310183083b184efea78c1aa5fc /core/chain_makers.go | |
parent | b71091e337fef7e3cfad56c61c97a42094e87531 (diff) | |
download | dexon-f6669db0010892d06722ae992baaf4a228d4467a.tar.gz dexon-f6669db0010892d06722ae992baaf4a228d4467a.tar.zst dexon-f6669db0010892d06722ae992baaf4a228d4467a.zip |
core: fixed mining strategy
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index 5cd7ab4ab..acf7b39cc 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -98,7 +98,7 @@ func makeChain(bman *BlockProcessor, parent *types.Block, max int, db common.Dat fmt.Println("process with parent failed", err) panic(err) } - block.Td = CalculateTD(block, parent) + block.Td = CalcTD(block, parent) blocks[i] = block parent = block } |