mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Enable multi quality until some funds have moved.
This commit is contained in:
@@ -381,7 +381,7 @@ TER RippleCalc::calcNodeDeliverRev (
|
||||
STAmount& saTakerGets = pnCur.saTakerGets;
|
||||
STAmount& saRateMax = pnCur.saRateMax;
|
||||
|
||||
terResult = calcNodeAdvance (uNode, psCur, bMultiQuality, true); // If needed, advance to next funded offer.
|
||||
terResult = calcNodeAdvance (uNode, psCur, bMultiQuality || saOutAct.isZero(), true); // If needed, advance to next funded offer.
|
||||
|
||||
if (tesSUCCESS != terResult || !uOfferIndex)
|
||||
{
|
||||
@@ -656,7 +656,7 @@ TER RippleCalc::calcNodeDeliverFwd (
|
||||
}
|
||||
|
||||
// Determine values for pass to adjust saInAct, saInFees, and saCurDeliverAct
|
||||
terResult = calcNodeAdvance (uNode, psCur, bMultiQuality, false); // If needed, advance to next funded offer.
|
||||
terResult = calcNodeAdvance (uNode, psCur, bMultiQuality || saInAct.isZero(), false); // If needed, advance to next funded offer.
|
||||
|
||||
if (tesSUCCESS != terResult)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user