diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-17 20:07:52 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-17 20:07:52 +0800 |
commit | 8730dfdcc2e2b40410a57385e4864d15f2f0336b (patch) | |
tree | eabf6400bc78b1796317fbb7cef642a7f2da2306 /ethchain/block_chain.go | |
parent | 88686cbed27ad2e7d5c111051e06c270b1b352a3 (diff) | |
download | go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.gz go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.bz2 go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.lz go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.xz go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.zst go-tangerine-8730dfdcc2e2b40410a57385e4864d15f2f0336b.zip |
Changed how changes are being applied to states
Diffstat (limited to 'ethchain/block_chain.go')
-rw-r--r-- | ethchain/block_chain.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go index 1848b9ddb..6c3b15a6a 100644 --- a/ethchain/block_chain.go +++ b/ethchain/block_chain.go @@ -280,7 +280,7 @@ func (bc *BlockChain) setLastBlock() { bc.LastBlockHash = block.Hash() bc.LastBlockNumber = info.Number - log.Printf("[CHAIN] Last known block height #%d\n", bc.LastBlockNumber) + ethutil.Config.Log.Infof("[CHAIN] Last known block height #%d\n", bc.LastBlockNumber) } else { AddTestNetFunds(bc.genesisBlock) @@ -295,7 +295,7 @@ func (bc *BlockChain) setLastBlock() { // Set the last know difficulty (might be 0x0 as initial value, Genesis) bc.TD = ethutil.BigD(ethutil.Config.Db.LastKnownTD()) - log.Printf("Last block: %x\n", bc.CurrentBlock.Hash()) + ethutil.Config.Log.Infof("Last block: %x\n", bc.CurrentBlock.Hash()) } func (bc *BlockChain) SetTotalDifficulty(td *big.Int) { |