mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove debug code accidentally commited.
This commit is contained in:
@@ -34,8 +34,6 @@ void SHAMap::dirtyUp(const uint256& id)
|
|||||||
{ // walk up the tree to the root updating nodes
|
{ // walk up the tree to the root updating nodes
|
||||||
SHAMapInnerNode::pointer node=mInnerNodeByID[SHAMapNode(depth, leaf->getNodeID())];
|
SHAMapInnerNode::pointer node=mInnerNodeByID[SHAMapNode(depth, leaf->getNodeID())];
|
||||||
if(!node) throw SHAMapException(MissingNode);
|
if(!node) throw SHAMapException(MissingNode);
|
||||||
if(depth==19)
|
|
||||||
std::cerr << "BEFOR:" << node->getString() << std::endl;
|
|
||||||
if(!node->setChildHash(node->selectBranch(id), hVal))
|
if(!node->setChildHash(node->selectBranch(id), hVal))
|
||||||
{
|
{
|
||||||
#ifdef ST_DEBUG
|
#ifdef ST_DEBUG
|
||||||
@@ -43,8 +41,6 @@ void SHAMap::dirtyUp(const uint256& id)
|
|||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(depth==19)
|
|
||||||
std::cerr << "AFTER:" << node->getString() << std::endl;
|
|
||||||
if(mDirtyInnerNodes) (*mDirtyInnerNodes)[*node]=node;
|
if(mDirtyInnerNodes) (*mDirtyInnerNodes)[*node]=node;
|
||||||
hVal=node->getNodeHash();
|
hVal=node->getNodeHash();
|
||||||
if(!hVal)
|
if(!hVal)
|
||||||
|
|||||||
Reference in New Issue
Block a user