mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Comment out some checks.
This commit is contained in:
@@ -129,6 +129,8 @@ SHAMapNode SHAMapNode::getChildNodeID(int m) const
|
||||
|
||||
int SHAMapNode::selectBranch(const uint256& hash) const
|
||||
{ // Which branch would contain the specified hash
|
||||
|
||||
#ifdef DEBUG
|
||||
if (mDepth == 63)
|
||||
{
|
||||
assert(false);
|
||||
@@ -142,6 +144,7 @@ int SHAMapNode::selectBranch(const uint256& hash) const
|
||||
assert(false);
|
||||
return -1; // does not go under this node
|
||||
}
|
||||
#endif
|
||||
|
||||
int branch = *(hash.begin() + (mDepth / 2));
|
||||
if (mDepth % 2) branch >>= 4;
|
||||
|
||||
Reference in New Issue
Block a user