Work on testing indirect ripple.

- WS: Make ripple_state more strict.
- UT: Add an indirect ripple test.
- UT: Add more testutils functions.
This commit is contained in:
Arthur Britto
2012-10-25 16:35:44 -07:00
parent 98130b524d
commit 522f064d9e
4 changed files with 111 additions and 13 deletions

View File

@@ -1944,7 +1944,7 @@ TER RippleCalc::rippleCalc(
terResult = temUNCERTAIN;
}
STAmount saInAct;
STAmount saInAct; // XXX Verify don't need to set currency/issuer.
STAmount saOutAct;
const LedgerEntrySet lesBase = lesActive; // Checkpoint with just fees paid.
const uint64 uQualityLimit = bLimitQuality ? STAmount::getRate(saDstAmountReq, saMaxAmountReq) : 0;