aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-15 18:24:29 +0800
committerobscuren <geffobscura@gmail.com>2015-05-15 18:24:29 +0800
commitf6669db0010892d06722ae992baaf4a228d4467a (patch)
tree3f7935bd9dc760310183083b184efea78c1aa5fc /core/chain_makers.go
parentb71091e337fef7e3cfad56c61c97a42094e87531 (diff)
downloadgo-tangerine-f6669db0010892d06722ae992baaf4a228d4467a.tar.gz
go-tangerine-f6669db0010892d06722ae992baaf4a228d4467a.tar.zst
go-tangerine-f6669db0010892d06722ae992baaf4a228d4467a.zip
core: fixed mining strategy
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r--core/chain_makers.go2
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
}