Fix and improve offer taking and trust setting.

This commit is contained in:
Arthur Britto
2013-01-23 21:36:37 -08:00
parent c52554af5d
commit ec7ce16f68
4 changed files with 285 additions and 28 deletions

View File

@@ -287,13 +287,13 @@ TER TrustSetTransactor::doApply()
// Create a new ripple line.
terResult = mEngine->getNodes().trustCreate(
bHigh, // Who to charge with reserve.
bHigh,
mTxnAccountID,
mTxnAccount,
uDstAccountID,
Ledger::getRippleStateIndex(mTxnAccountID, uDstAccountID, uCurrencyID),
mTxnAccount,
saBalance,
saLimitAllow,
saLimitAllow, // Limit for who is being charged.
uQualityIn,
uQualityOut);
}