Extra debug

This commit is contained in:
JoelKatz
2012-01-18 14:14:46 -08:00
parent 1277ffd91c
commit efb9fd7e1f

View File

@@ -31,6 +31,9 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
if(!trans->checkSign())
{
#ifdef DEBUG
std::cerr << "Transaction has bad signature" << std::endl;
#endif
trans->setStatus(INVALID);
return trans;
}
@@ -57,6 +60,10 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
trans->setStatus(INCLUDED);
return trans;
}
#ifdef DEBUG
std::cerr << "Status other than success " << r << std::endl;
#endif
trans->setStatus(INVALID);
return trans;