mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Cleanups.
This commit is contained in:
@@ -2561,7 +2561,8 @@ int iPass = 0;
|
|||||||
|
|
||||||
++iDry;
|
++iDry;
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
tLog(!pspCur->saInPass || !pspCur->saOutPass, lsDEBUG)
|
tLog(!pspCur->saInPass || !pspCur->saOutPass, lsDEBUG)
|
||||||
<< boost::str(boost::format("rippleCalc: better: uQuality=%s saInPass=%s saOutPass=%s")
|
<< boost::str(boost::format("rippleCalc: better: uQuality=%s saInPass=%s saOutPass=%s")
|
||||||
% STAmount::saFromRate(pspCur->uQuality)
|
% STAmount::saFromRate(pspCur->uQuality)
|
||||||
@@ -2587,6 +2588,8 @@ int iPass = 0;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (sLog(lsDEBUG))
|
||||||
|
{
|
||||||
cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: Pass: %d Dry: %d Paths: %d") % ++iPass % iDry % vpsExpanded.size());
|
cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: Pass: %d Dry: %d Paths: %d") % ++iPass % iDry % vpsExpanded.size());
|
||||||
BOOST_FOREACH(PathState::ref pspCur, vpsExpanded)
|
BOOST_FOREACH(PathState::ref pspCur, vpsExpanded)
|
||||||
{
|
{
|
||||||
@@ -2597,6 +2600,7 @@ cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: %d rate: %s qual
|
|||||||
% (iBest == pspCur->getIndex())
|
% (iBest == pspCur->getIndex())
|
||||||
% pspCur->bConsumed);
|
% pspCur->bConsumed);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (iBest >= 0)
|
if (iBest >= 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user