aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-04-01 21:54:29 +0800
committerMaran <maran.hidskes@gmail.com>2014-04-01 21:54:29 +0800
commit782910eaa76bb31be4c2bcd0f4505b8085acb57c (patch)
tree79dfa501fc8224919734a66d842b185027612401 /ethchain
parent3558dd5ed4e14f124f04e2bf72fc3b989dff9e77 (diff)
downloadgo-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.gz
go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.zst
go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.zip
Small tweaks
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/block_chain.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index a8d9793d6..f621965ae 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -146,8 +146,6 @@ func (bc *BlockChain) FindCanonicalChain(blocks []*Block, commonBlockHash []byte
log.Println("[CHAIN] At genesis block, breaking")
break
}
- log.Printf("CHECKING OUR OWN BLOCKS: %x", block.Hash())
- log.Printf("%x", bc.GenesisBlock().Hash())
curChainDifficulty.Add(curChainDifficulty, bc.CalculateBlockTD(block))
}
@@ -309,7 +307,6 @@ func (bc *BlockChain) Add(block *Block) {
bc.LastBlockHash = block.Hash()
encodedBlock := block.RlpEncode()
- log.Println(encodedBlock)
ethutil.Config.Db.Put(block.Hash(), encodedBlock)
ethutil.Config.Db.Put([]byte("LastBlock"), encodedBlock)
}