mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-08 19:26:35 +00:00
Map sync bugfix - wrong hash caused 'fullBelow' optimization to fail.
This commit is contained in:
@@ -97,7 +97,7 @@ void SHAMap::getMissingNodes(std::vector<SHAMapNode>& nodeIDs, std::vector<uint2
|
||||
node->setFullBelow();
|
||||
if (mType == smtSTATE)
|
||||
{
|
||||
fullBelowCache.add(node->getHash());
|
||||
fullBelowCache.add(node->getNodeHash());
|
||||
dropBelow(node);
|
||||
}
|
||||
}
|
||||
@@ -162,7 +162,7 @@ std::vector<uint256> SHAMap::getNeededHashes(int max)
|
||||
node->setFullBelow();
|
||||
if (mType == smtSTATE)
|
||||
{
|
||||
fullBelowCache.add(node->getHash());
|
||||
fullBelowCache.add(node->getNodeHash());
|
||||
dropBelow(node);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user