Files
rippled/include
Vito c327fc1ee2 fix: Reject sub-ULP cover amounts with tecPRECISION_LOSS (fixCleanup3_2_0)
Add STAmount::isZeroAtScale() and canApplyToBrokerCover() to detect
amounts that round to zero at sfCoverAvailable's precision scale, then
call the guard in LoanBrokerCoverDeposit, LoanBrokerCoverWithdraw, and
LoanBrokerCoverClawback preclaim. Without the guard a sub-ULP deposit,
withdrawal, or clawback would silently succeed while moving no funds.
2026-05-14 14:44:16 +02:00
..