mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +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;
|
||||||
}
|
}
|
||||||
@@ -58,6 +61,10 @@ Transaction::pointer NetworkOPs::processTransaction(Transaction::pointer trans)
|
|||||||
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