mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 08:48:03 +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();
|
if(node->hasItem()) return node->peekItem();
|
||||||
|
|
||||||
bool foundNode=false;
|
bool foundNode=false;
|
||||||
for(int i=16; i>=0; i++)
|
for(int i=15; i>=0; i++)
|
||||||
if(!node->isEmptyBranch(i))
|
if(!node->isEmptyBranch(i))
|
||||||
{
|
{
|
||||||
node=getNode(node->getChildNodeID(i), node->getChildHash(i), false);
|
node=getNode(node->getChildNodeID(i), node->getChildHash(i), false);
|
||||||
|
|||||||
Reference in New Issue
Block a user