Mark some code that doesn't do what it might appear to.

This commit is contained in:
JoelKatz
2013-04-13 19:11:55 -07:00
parent 4cf9cae063
commit 1f5d380546

View File

@@ -884,9 +884,13 @@ TER RippleCalc::calcNodeAdvance(
}
if (bDirectAdvance)
{
// Get next quality.
{ // Get next quality.
// FIXME: This looks at the original ledger and doesn't take into account any changes
// in the LedgerEntrySet. If this code, for example, created offers, this would
// not return the pages they're in.
uDirectTip = lesActive.getLedger()->getNextLedgerIndex(uDirectTip, uDirectEnd);
bDirectDirDirty = true;
bDirectAdvance = false;