fixed tests

This commit is contained in:
obscuren
2015-03-24 15:27:05 +01:00
parent ff9d66e096
commit 9de1ad6546
2 changed files with 5 additions and 5 deletions

View File

@ -399,7 +399,7 @@ func (self *ChainManager) GetAncestors(block *types.Block, length int) (blocks [
func (bc *ChainManager) setTotalDifficulty(td *big.Int) {
bc.blockDb.Put([]byte("LTD"), td.Bytes())
bc.td.Set(td)
bc.td = td
}
func (self *ChainManager) CalcTotalDiff(block *types.Block) (*big.Int, error) {