Remove flow assert: (#5009)

Rounding in the payment engine is causing an assert to sometimes fire
with "dust" amounts. This is causing issues when running debug builds of
rippled. This issue will be addressed, but the assert is no longer
serving its purpose.
This commit is contained in:
seelabs
2024-05-01 11:40:06 -04:00
committed by tequ
parent ad5a1d2385
commit 6adce3f703

View File

@@ -834,7 +834,13 @@ flow(
{
if (actualOut > outReq)
{
assert(0);
// Rounding in the payment engine is causing this assert to
// sometimes fire with "dust" amounts. This is causing issues when
// running debug builds of rippled. While this issue still needs to
// be resolved, the assert is causing more harm than good at this
// point.
// assert(0);
return {tefEXCEPTION, std::move(ofrsToRmOnFail)};
}
if (!partialPayment)