mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts: src/main.cpp
This commit is contained in:
@@ -521,12 +521,12 @@ bool SHAMap::updateGiveItem(SHAMapItem::pointer item, bool isTransaction)
|
||||
boost::recursive_mutex::scoped_lock sl(mLock);
|
||||
|
||||
std::stack<SHAMapTreeNode::pointer> stack = getStack(tag, true);
|
||||
if(stack.empty()) throw SHAMapException(MissingNode);
|
||||
if (stack.empty()) throw SHAMapException(MissingNode);
|
||||
|
||||
SHAMapTreeNode::pointer node=stack.top();
|
||||
stack.pop();
|
||||
|
||||
if (!node->isLeaf() || (node->peekItem()->getTag() == tag) )
|
||||
if (!node->isLeaf() || (node->peekItem()->getTag() != tag) )
|
||||
{
|
||||
assert(false);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user