From 6616ebf133cb780e26153d6f4e1cc742ecdf4e66 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Mon, 25 Feb 2013 22:32:07 -0800 Subject: [PATCH] Better logging for insufficent fee paid. --- src/cpp/ripple/Transactor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/Transactor.cpp b/src/cpp/ripple/Transactor.cpp index a95d4f398..4b65dd7fd 100644 --- a/src/cpp/ripple/Transactor.cpp +++ b/src/cpp/ripple/Transactor.cpp @@ -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; }