diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-07 19:58:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-07 19:58:28 +0800 |
commit | 96ac061e68ffd79f1aa22e12113b0cf58e418c5a (patch) | |
tree | 4b0997133ccea46f738b68a7f1586cdc3899de6f /ethchain | |
parent | 890745e8469b3d6ee7175db94edfb618b6bc8bc5 (diff) | |
download | dexon-96ac061e68ffd79f1aa22e12113b0cf58e418c5a.tar.gz dexon-96ac061e68ffd79f1aa22e12113b0cf58e418c5a.tar.zst dexon-96ac061e68ffd79f1aa22e12113b0cf58e418c5a.zip |
Log change
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/block_chain.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go index df735d679..f72a77706 100644 --- a/ethchain/block_chain.go +++ b/ethchain/block_chain.go @@ -294,7 +294,6 @@ func (bc *BlockChain) setLastBlock() { bc.LastBlockHash = block.Hash() bc.LastBlockNumber = block.Number.Uint64() - chainlogger.Infof("Last known block height #%d\n", bc.LastBlockNumber) } else { AddTestNetFunds(bc.genesisBlock) @@ -309,7 +308,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()) - chainlogger.Infof("Last block: %x\n", bc.CurrentBlock.Hash()) + chainlogger.Infof("Last block (#%d) %x\n", bc.LastBlockNumber, bc.CurrentBlock.Hash()) } func (bc *BlockChain) SetTotalDifficulty(td *big.Int) { |