aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-03 12:02:00 +0800
committerobscuren <geffobscura@gmail.com>2015-02-03 12:02:00 +0800
commit30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4 (patch)
tree7e573f4c0fdb592f5ccd6ff8059136f1ffc3c6c8 /eth
parentfaa54e59c1c276d153299c73afdea246941ec952 (diff)
downloaddexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar.gz
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar.bz2
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar.lz
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar.xz
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.tar.zst
dexon-30fa30bd4a5f12e86480bec0a7dd2fe290c9abc4.zip
Docs & old code removed
Diffstat (limited to 'eth')
-rw-r--r--eth/block_pool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/block_pool.go b/eth/block_pool.go
index 97ae683c1..13016c694 100644
--- a/eth/block_pool.go
+++ b/eth/block_pool.go
@@ -636,12 +636,12 @@ func (self *BlockPool) AddBlock(block *types.Block, peerId string) {
// validate block for PoW
if !self.verifyPoW(block) {
- poolLogger.Warnf("invalid pow on block [%s] by peer %s", name(hash), peerId)
+ poolLogger.Warnf("invalid pow on block [%s %v] by peer %s", name(hash), block.Number(), peerId)
self.peerError(peerId, ErrInvalidPoW, "%x", hash)
return
}
}
- poolLogger.Debugf("added block [%s] sent by peer %s", name(hash), peerId)
+ poolLogger.DebugDetailf("added block [%s] sent by peer %s", name(hash), peerId)
node.block = block
node.blockBy = peerId