Stupid buglet was borking ledger acquire logic.

This commit is contained in:
JoelKatz
2012-10-25 01:53:25 -07:00
parent ef40099649
commit 8f1b0971fb

View File

@@ -216,7 +216,7 @@ bool SHAMap::addKnownNode(const SHAMapNode& node, const std::vector<unsigned cha
return true;
}
if (iNode->isLeaf() || (iNode->getDepth() == node.getDepth()))
if (iNode->isLeaf() || (iNode->getDepth() >= node.getDepth()))
{
cLog(lsTRACE) << "got inner node, already had it (late)";
return true;