aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-09 21:50:49 +0800
committerobscuren <geffobscura@gmail.com>2014-04-09 21:50:49 +0800
commitc0cad0b534f8e0bdd20f57480883d92ea0ffe9f0 (patch)
treef6503df1d2d304eb44b25625cc19a123d5971054 /ethchain
parent035f0ffb8ac95faa1742c0575cc9b5409ec54379 (diff)
parenta83db489dfddb16786b1de3d28aee4a4af9e12d5 (diff)
downloadgo-tangerine-c0cad0b534f8e0bdd20f57480883d92ea0ffe9f0.tar.gz
go-tangerine-c0cad0b534f8e0bdd20f57480883d92ea0ffe9f0.tar.zst
go-tangerine-c0cad0b534f8e0bdd20f57480883d92ea0ffe9f0.zip
Merge branch 'miner' of github.com-obscure:ethereum/eth-go into miner
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/block_chain.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index f621965ae..2a50ef687 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -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()