mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Better logging for insufficent fee paid.
This commit is contained in:
@@ -57,7 +57,9 @@ TER Transactor::payFee()
|
|||||||
// Only check fee is sufficient when the ledger is open.
|
// Only check fee is sufficient when the ledger is open.
|
||||||
if (isSetBit(mParams, tapOPEN_LEDGER) && saPaid < mFeeDue)
|
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;
|
return telINSUF_FEE_P;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user