core: fixed mining strategy

This commit is contained in:
obscuren
2015-05-15 12:24:29 +02:00
parent b71091e337
commit f6669db001
2 changed files with 16 additions and 10 deletions

View File

@ -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
}