Cleanups. Remove some redundant checks.

This commit is contained in:
JoelKatz
2012-12-14 10:53:22 -08:00
parent 0da30fc82e
commit efd9e91c51
2 changed files with 16 additions and 23 deletions

View File

@@ -347,7 +347,7 @@ protected:
void dirtyUp(std::stack<SHAMapTreeNode::pointer>& stack, const uint256& target, uint256 prevHash);
std::stack<SHAMapTreeNode::pointer> getStack(const uint256& id, bool include_nonmatching_leaf, bool partialOk);
SHAMapTreeNode::ref walkTo(const uint256& id, bool modify);
SHAMapTreeNode::pointer walkTo(const uint256& id, bool modify);
SHAMapTreeNode* walkToPointer(const uint256& id);
SHAMapTreeNode::ref checkCacheNode(const SHAMapNode&);
void returnNode(SHAMapTreeNode::pointer&, bool modify);