aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dht/node.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dht/node.go b/dht/node.go
index b0dd9ec..61d4d67 100644
--- a/dht/node.go
+++ b/dht/node.go
@@ -398,6 +398,7 @@ func (n *Node) processFindNodeResults(rn remoteNode, nodeList string) {
if len(nodeList)%nodeLength != 0 {
n.log.Error("node list is wrong length", "length", len(nodeList))
+ n.blacklist.Add(rn.addr.String(), true)
return
}