diff options
author | Maran <maran.hidskes@gmail.com> | 2014-04-09 20:55:39 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-04-09 20:55:39 +0800 |
commit | b66a99e32dd51ddd66a81141a9a37f93144935bd (patch) | |
tree | 598fbd41f4a73bbed3e29bb6c1b2aa93ef86f137 | |
parent | 782910eaa76bb31be4c2bcd0f4505b8085acb57c (diff) | |
download | dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar.gz dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar.bz2 dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar.lz dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar.xz dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.tar.zst dexon-b66a99e32dd51ddd66a81141a9a37f93144935bd.zip |
Added todo
-rw-r--r-- | ethchain/block_chain.go | 2 |
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() |