mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tiny cleanup.
This commit is contained in:
@@ -526,7 +526,10 @@ bool SHAMap::updateGiveItem(SHAMapItem::pointer item, bool isTransaction)
|
|||||||
stack.pop();
|
stack.pop();
|
||||||
|
|
||||||
if (!node->isLeaf() || (node->peekItem()->getTag() == tag) )
|
if (!node->isLeaf() || (node->peekItem()->getTag() == tag) )
|
||||||
|
{
|
||||||
|
assert(false);
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
returnNode(node, true);
|
returnNode(node, true);
|
||||||
if (!node->setItem(item, isTransaction ? SHAMapTreeNode::tnTRANSACTION : SHAMapTreeNode::tnACCOUNT_STATE))
|
if (!node->setItem(item, isTransaction ? SHAMapTreeNode::tnTRANSACTION : SHAMapTreeNode::tnACCOUNT_STATE))
|
||||||
|
|||||||
Reference in New Issue
Block a user