Add a getLedgerNext that takes into account changes in the LES.

This commit is contained in:
JoelKatz
2013-04-16 11:42:04 -07:00
parent 148b5b42a5
commit bdf1ed2584
3 changed files with 37 additions and 1 deletions

View File

@@ -889,7 +889,7 @@ TER RippleCalc::calcNodeAdvance(
// 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);
uDirectTip = lesActive.getNextLedgerIndex(uDirectTip, uDirectEnd);
bDirectDirDirty = true;
bDirectAdvance = false;