Better logging for insufficent fee paid.

This commit is contained in:
Arthur Britto
2013-02-25 22:32:07 -08:00
parent a0c709d126
commit 6616ebf133

View File

@@ -57,7 +57,9 @@ TER Transactor::payFee()
// Only check fee is sufficient when the ledger is open.
if (isSetBit(mParams, tapOPEN_LEDGER) && saPaid < mFeeDue)
{
cLog(lsINFO) << "applyTransaction: insufficient fee";
cLog(lsINFO) << boost::str(boost::format("applyTransaction: Insufficient fee paid: %s/%s")
% saPaid.getText()
% mFeeDue.getText());
return telINSUF_FEE_P;
}