From 46861fac485b8e958b61f0299f68d2117d844428 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 8 Nov 2013 10:17:12 -0800 Subject: [PATCH] Don't allow a payment to take anything from an expired offer. --- src/ripple_app/paths/RippleCalc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ripple_app/paths/RippleCalc.cpp b/src/ripple_app/paths/RippleCalc.cpp index 8af669c9bff..de5628eaeb6 100644 --- a/src/ripple_app/paths/RippleCalc.cpp +++ b/src/ripple_app/paths/RippleCalc.cpp @@ -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 ()) {