mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make sure we skip unfunded offers.
This commit is contained in:
@@ -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.";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user