mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Extra debug
This commit is contained in:
@@ -31,6 +31,9 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
|
|||||||
|
|
||||||
if(!trans->checkSign())
|
if(!trans->checkSign())
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
std::cerr << "Transaction has bad signature" << std::endl;
|
||||||
|
#endif
|
||||||
trans->setStatus(INVALID);
|
trans->setStatus(INVALID);
|
||||||
return trans;
|
return trans;
|
||||||
}
|
}
|
||||||
@@ -57,6 +60,10 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
|
|||||||
trans->setStatus(INCLUDED);
|
trans->setStatus(INCLUDED);
|
||||||
return trans;
|
return trans;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
std::cerr << "Status other than success " << r << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
trans->setStatus(INVALID);
|
trans->setStatus(INVALID);
|
||||||
return trans;
|
return trans;
|
||||||
|
|||||||
Reference in New Issue
Block a user