mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Minor fetch pack generation bug could cause extra nodes to be sent.
This commit is contained in:
@@ -434,7 +434,8 @@ bool SHAMap::hasInnerNode (const SHAMapNode& nodeID, uint256 const& nodeHash)
|
||||
{
|
||||
boost::unordered_map<SHAMapNode, SHAMapTreeNode::pointer>::iterator it = mTNByID.find (nodeID);
|
||||
if (it != mTNByID.end())
|
||||
return it->second->getNodeHash() == nodeHash;
|
||||
if (it->second->getNodeHash() == nodeHash)
|
||||
return true;
|
||||
|
||||
SHAMapTreeNode* node = root.get ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user