From 8f1b0971fb59a2fea6f7ee03cc13c635834bf505 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 25 Oct 2012 01:53:25 -0700 Subject: [PATCH] Stupid buglet was borking ledger acquire logic. --- src/SHAMapSync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;