mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 10:05:48 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user