mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Pathfinding performance improvements.
This commit is contained in:
@@ -124,8 +124,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 == 64)
|
||||
#ifdef PARANOID
|
||||
if (mDepth >= 64)
|
||||
{
|
||||
assert(false);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user