Merge branch 'miner' of github.com-obscure:ethereum/eth-go into miner

This commit is contained in:
obscuren
2014-04-09 15:50:49 +02:00
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -169,6 +169,8 @@ func (bc *BlockChain) ResetTillBlockHash(hash []byte) error {
bc.LastBlockHash = bc.genesisBlock.Hash()
bc.LastBlockNumber = 1
} else {
// TODO: Somehow this doesn't really give the right numbers, double check.
// TODO: Change logs into debug lines
returnTo = bc.GetBlock(hash)
bc.CurrentBlock = returnTo
bc.LastBlockHash = returnTo.Hash()