mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 00:15:51 +00:00
This looks like the right fix.
This commit is contained in:
@@ -186,8 +186,10 @@ TER RippleCalc::calcNodeAdvance (
|
|||||||
// Offer is expired.
|
// Offer is expired.
|
||||||
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
|
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
|
||||||
|
|
||||||
|
if (bReverse)
|
||||||
|
musUnfundedFound.insert(uOfferIndex);
|
||||||
|
else // it will already be deleted
|
||||||
assert (musUnfundedFound.find (uOfferIndex) != musUnfundedFound.end ()); // Verify reverse found it too.
|
assert (musUnfundedFound.find (uOfferIndex) != musUnfundedFound.end ()); // Verify reverse found it too.
|
||||||
// Just skip it. It will be deleted.
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
|
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
|
||||||
|
|||||||
Reference in New Issue
Block a user