From f5ba6f1915b25e9d3875d31bb7d2c7b4d2c46931 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 23 May 2013 20:16:53 -0700 Subject: [PATCH] Update RippleCalc for new log functions --- src/cpp/ripple/RippleCalc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/ripple/RippleCalc.cpp b/src/cpp/ripple/RippleCalc.cpp index 624baeab5..c9ce3d51c 100644 --- a/src/cpp/ripple/RippleCalc.cpp +++ b/src/cpp/ripple/RippleCalc.cpp @@ -2147,7 +2147,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c if (!saCurWantedReq.isPositive()) { // TEMPORARY emergency fix - cLog(lsFATAL) << "CurWantReq was not positive"; + WriteLog (lsFATAL, RippleCalc) << "CurWantReq was not positive"; return tefEXCEPTION; } @@ -3020,7 +3020,7 @@ int iPass = 0; { if (tesSUCCESS == terResult) { - cLog(lsDEBUG) << "Became unfunded " << uOfferIndex.GetHex(); + WriteLog (lsDEBUG, RippleCalc) << "Became unfunded " << uOfferIndex.GetHex(); terResult = lesActive.offerDelete(uOfferIndex); } } @@ -3031,7 +3031,7 @@ int iPass = 0; { if (tesSUCCESS == terResult) { - cLog(lsDEBUG) << "Delete unfunded " << uOfferIndex.GetHex(); + WriteLog (lsDEBUG, RippleCalc) << "Delete unfunded " << uOfferIndex.GetHex(); terResult = lesActive.offerDelete(uOfferIndex); } }