Always add a hash when we add an ID.

This commit is contained in:
JoelKatz
2013-03-09 11:13:34 -08:00
parent cd8721fbdc
commit 366313a3e4

View File

@@ -73,6 +73,7 @@ void SHAMap::getMissingNodes(std::vector<SHAMapNode>& nodeIDs, std::vector<uint2
{ // we need this node
have_all = false;
nodeIDs.push_back(childID);
hashes.push_back(childHash);
if (--max <= 0)
return;
}