mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanups.
This commit is contained in:
@@ -123,12 +123,12 @@ void SHAMap::dirtyUp(std::stack<SHAMapTreeNode::pointer>& stack, const uint256&
|
||||
|
||||
if (!node->setChildHash(branch, prevHash))
|
||||
{
|
||||
std::cerr << "dirtyUp terminates early" << std::endl;
|
||||
cLog(lsFATAL) << "dirtyUp terminates early";
|
||||
assert(false);
|
||||
return;
|
||||
}
|
||||
#ifdef ST_DEBUG
|
||||
std::cerr << "dirtyUp sets branch " << branch << " to " << prevHash << std::endl;
|
||||
cLog(lsTRACE) << "dirtyUp sets branch " << branch << " to " << prevHash;
|
||||
#endif
|
||||
prevHash = node->getNodeHash();
|
||||
assert(prevHash.isNonZero());
|
||||
|
||||
Reference in New Issue
Block a user