diff --git a/src/kademlia/routing_table.cpp b/src/kademlia/routing_table.cpp index 66900cc42..32f7514f2 100644 --- a/src/kademlia/routing_table.cpp +++ b/src/kademlia/routing_table.cpp @@ -199,6 +199,9 @@ void routing_table::node_failed(node_id const& id) , bind(&node_entry::id, _1), id)); if (i == b.end()) return; + + // if messages to ourself fails, ignore it + if (bucket_index == 0) return; if (rb.empty()) {