mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Allow an update that leaves the node the same.
This commit is contained in:
@@ -588,9 +588,8 @@ bool SHAMap::updateGiveItem(SHAMapItem::pointer item, bool isTransaction)
|
||||
returnNode(node, true);
|
||||
if (!node->setItem(item, isTransaction ? SHAMapTreeNode::tnTRANSACTION : SHAMapTreeNode::tnACCOUNT_STATE))
|
||||
{
|
||||
Log(lsFATAL) << "SHAMap setItem fails";
|
||||
assert(false);
|
||||
return false;
|
||||
Log(lsWARNING) << "SHAMap setItem, no change";
|
||||
return true;
|
||||
}
|
||||
|
||||
dirtyUp(stack, tag, node->getNodeHash());
|
||||
|
||||
Reference in New Issue
Block a user