Don't allow a payment to take anything from an expired offer.

This commit is contained in:
JoelKatz
2013-11-08 10:17:12 -08:00
parent 4620b667e7
commit 46861fac48

View File

@@ -204,6 +204,7 @@ TER RippleCalc::calcNodeAdvance (
// Offer is expired.
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
musUnfundedFound.insert(uOfferIndex);
continue;
}
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
{