mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Part of the bug. Return value from setItem was incorrect.
This commit is contained in:
@@ -299,7 +299,7 @@ bool SHAMapTreeNode::setItem(SHAMapItem::pointer& i, TNType type)
|
||||
mItem = i;
|
||||
assert(isLeaf());
|
||||
updateHash();
|
||||
return getNodeHash() == hash;
|
||||
return getNodeHash() != hash;
|
||||
}
|
||||
|
||||
SHAMapItem::pointer SHAMapTreeNode::getItem() const
|
||||
|
||||
Reference in New Issue
Block a user