diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-15 18:26:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-15 18:47:32 +0800 |
commit | cfb2b51b749a5897eb47bee15e67a0f9d850bfbd (patch) | |
tree | 16469a8163d6ba0c385c4b728b17d4edd4b35739 /core | |
parent | f6669db0010892d06722ae992baaf4a228d4467a (diff) | |
download | dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar.gz dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar.bz2 dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar.lz dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar.xz dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.tar.zst dexon-cfb2b51b749a5897eb47bee15e67a0f9d850bfbd.zip |
eth/downloader: fixed test
Diffstat (limited to 'core')
-rw-r--r-- | core/chain_manager_test.go | 2 |
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() |