From 5a9416fbcfaeae5110b771ff876a7edb00bc6b92 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 16 Oct 2013 13:47:31 -0700 Subject: [PATCH] Remove an assert that is not needed. --- src/ripple_app/paths/RippleCalc.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ripple_app/paths/RippleCalc.cpp b/src/ripple_app/paths/RippleCalc.cpp index 9042de216..8af669c9b 100644 --- a/src/ripple_app/paths/RippleCalc.cpp +++ b/src/ripple_app/paths/RippleCalc.cpp @@ -203,12 +203,7 @@ TER RippleCalc::calcNodeAdvance ( { // Offer is expired. 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. - continue; + musUnfundedFound.insert(uOfferIndex); } else if (!saTakerPays.isPositive () || !saTakerGets.isPositive ()) {