Speed up ledger acquiring.

This commit is contained in:
JoelKatz
2013-05-16 23:32:50 -07:00
parent fb7e01da41
commit 588ef7df86
5 changed files with 18 additions and 9 deletions

View File

@@ -260,7 +260,6 @@ SHAMapTreeNode* SHAMap::getNodePointer(const SHAMapNode& id, const uint256& hash
}
}
void SHAMap::returnNode(SHAMapTreeNode::pointer& node, bool modify)
{ // make sure the node is suitable for the intended operation (copy on write)
assert(node->isValid());