aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/chain_manager_test.go')
-rw-r--r--core/chain_manager_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go
index f456e4fff..b5155e223 100644
--- a/core/chain_manager_test.go
+++ b/core/chain_manager_test.go
@@ -81,7 +81,7 @@ func testChain(chainB types.Blocks, bman *BlockProcessor) (*big.Int, error) {
return nil, err
}
parent := bman.bc.GetBlock(block.ParentHash())
- block.Td = CalculateTD(block, parent)
+ block.Td = CalcTD(block, parent)
td = block.Td
bman.bc.mu.Lock()