This commit is contained in:
JoelKatz
2013-05-17 01:52:39 -07:00
parent c2bea03886
commit ff6e035e6e

View File

@@ -502,7 +502,7 @@ std::list<SHAMap::fetchPackEntry_t> SHAMap::getFetchPack(SHAMap* have, bool incl
if (!have || !have->hasInnerNode(*next, childHash))
stack.push(next);
}
if (includeLeaves && (!have || !have->hasLeafNode(node->getTag(), childHash)))
else if (includeLeaves && (!have || !have->hasLeafNode(node->getTag(), childHash)))
{
Serializer s;
node->addRaw(s, snfPREFIX);