Remove an assert that is not needed.

This commit is contained in:
JoelKatz
2013-10-16 13:47:31 -07:00
parent 582b5bb3ac
commit 5a9416fbcf

View File

@@ -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 ())
{