mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 09:25:51 +00:00
Bugfix.
This commit is contained in:
@@ -198,7 +198,7 @@ SHAMapItem::pointer SHAMap::lastBelow(SHAMapTreeNode::pointer node)
|
||||
if(node->hasItem()) return node->peekItem();
|
||||
|
||||
bool foundNode=false;
|
||||
for(int i=16; i>=0; i++)
|
||||
for(int i=15; i>=0; i++)
|
||||
if(!node->isEmptyBranch(i))
|
||||
{
|
||||
node=getNode(node->getChildNodeID(i), node->getChildHash(i), false);
|
||||
|
||||
Reference in New Issue
Block a user