Allow an update that leaves the node the same.

This commit is contained in:
JoelKatz
2012-06-01 14:08:29 -07:00
parent a6e738ccfd
commit 346ab49d7a

View File

@@ -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());