aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/blockpool.go
diff options
context:
space:
mode:
Diffstat (limited to 'blockpool/blockpool.go')
-rw-r--r--blockpool/blockpool.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/blockpool/blockpool.go b/blockpool/blockpool.go
index d9f8e3baa..e65032fb5 100644
--- a/blockpool/blockpool.go
+++ b/blockpool/blockpool.go
@@ -761,10 +761,10 @@ func (self *BlockPool) checkTD(nodes ...*node) {
if n.td != nil {
plog.DebugDetailf("peer td %v =?= block td %v", n.td, n.block.Td)
if n.td.Cmp(n.block.Td) != 0 {
- self.peers.peerError(n.blockBy, ErrIncorrectTD, "on block %x", n.hash)
- self.status.lock.Lock()
- self.status.badPeers[n.blockBy]++
- self.status.lock.Unlock()
+ //self.peers.peerError(n.blockBy, ErrIncorrectTD, "on block %x", n.hash)
+ //self.status.lock.Lock()
+ //self.status.badPeers[n.blockBy]++
+ //self.status.lock.Unlock()
}
}
}