Skip to content

Commit 46861fa

Browse files
committed
Don't allow a payment to take anything from an expired offer.
1 parent 4620b66 commit 46861fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ripple_app/paths/RippleCalc.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ TER RippleCalc::calcNodeAdvance (
204204
// Offer is expired.
205205
WriteLog (lsTRACE, RippleCalc) << "calcNodeAdvance: expired offer";
206206
musUnfundedFound.insert(uOfferIndex);
207+
continue;
207208
}
208209
else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ())
209210
{

0 commit comments

Comments
 (0)