diff --git a/src/SHAMapSync.cpp b/src/SHAMapSync.cpp index 5e9cec50f..4c051b3d6 100644 --- a/src/SHAMapSync.cpp +++ b/src/SHAMapSync.cpp @@ -216,7 +216,7 @@ bool SHAMap::addKnownNode(const SHAMapNode& node, const std::vectorisLeaf() || (iNode->getDepth() == node.getDepth())) + if (iNode->isLeaf() || (iNode->getDepth() >= node.getDepth())) { cLog(lsTRACE) << "got inner node, already had it (late)"; return true;