Make sure we skip unfunded offers.

This commit is contained in:
JoelKatz
2013-08-05 00:40:28 -07:00
committed by David Schwartz
parent 8ed990ce94
commit 9dd6b7c408

View File

@@ -717,7 +717,7 @@ TER RippleCalc::calcNodeDeliverFwd (
% saInPassAct
% saOutPassMax);
if (!saInSum) // FIXME: We remove an offer if we didn't want anything out of it?!
if (!saTakerPays || !saInSum) // FIXME: We remove an offer if we didn't want anything out of it?!
{
WriteLog (lsINFO, RippleCalc) << "calcNodeDeliverFwd: Microscopic offer unfunded.";