diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-09 05:37:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-09 05:37:10 +0800 |
commit | 8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7 (patch) | |
tree | 06c517f32ac1e12bc2efbc21e3c580f8ac56afea /eth/handler.go | |
parent | 9ed166c196b07047299579e5ea2b6ece26aec5c6 (diff) | |
download | go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar.gz go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar.bz2 go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar.lz go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar.xz go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.tar.zst go-tangerine-8216bb901c9fbdcde427cc42ca7e82ec3ee2e8e7.zip |
eth: clean up pending announce download map, polish logs
Diffstat (limited to 'eth/handler.go')
-rw-r--r-- | eth/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go index acc16812a..15381b447 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -362,7 +362,7 @@ func (pm *ProtocolManager) importBlock(p *peer, block *types.Block, td *big.Int) _, chainHead, _ := pm.chainman.Status() jsonlogger.LogJson(&logger.EthChainReceivedNewBlock{ BlockHash: hash.Hex(), - BlockNumber: block.Number(), // this surely must be zero + BlockNumber: block.Number(), ChainHeadHash: chainHead.Hex(), BlockPrevHash: block.ParentHash().Hex(), RemoteId: p.ID().String(), |