mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix and improve offer taking and trust setting.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user