Remove debug code accidentally commited.

This commit is contained in:
JoelKatz
2011-11-29 16:22:17 -08:00
parent 66fec28ffe
commit ff8b9aafa6

View File

@@ -34,8 +34,6 @@ void SHAMap::dirtyUp(const uint256& id)
{ // walk up the tree to the root updating nodes
SHAMapInnerNode::pointer node=mInnerNodeByID[SHAMapNode(depth, leaf->getNodeID())];
if(!node) throw SHAMapException(MissingNode);
if(depth==19)
std::cerr << "BEFOR:" << node->getString() << std::endl;
if(!node->setChildHash(node->selectBranch(id), hVal))
{
#ifdef ST_DEBUG
@@ -43,8 +41,6 @@ void SHAMap::dirtyUp(const uint256& id)
#endif
return;
}
if(depth==19)
std::cerr << "AFTER:" << node->getString() << std::endl;
if(mDirtyInnerNodes) (*mDirtyInnerNodes)[*node]=node;
hVal=node->getNodeHash();
if(!hVal)