mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't allow a payment to take anything from an expired offer.
This commit is contained in:
@@ -204,6 +204,7 @@ TER RippleCalc::calcNodeAdvance (
|
|||||||
// Offer is expired.
|
// Offer is expired.
|
||||||
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
|
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
|
||||||
musUnfundedFound.insert(uOfferIndex);
|
musUnfundedFound.insert(uOfferIndex);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
|
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user