fix: Fix touchy "funds are conserved" assertion in LoanPay (#6231)

This commit is contained in:
Ed Hennis
2026-04-14 18:09:51 -04:00
parent c979643d01
commit e09949ccd7
10 changed files with 380 additions and 73 deletions

View File

@@ -357,7 +357,7 @@ STAmount::operator=(IOUAmount const& iou)
{
XRPL_ASSERT(
integral() == false,
"xrpl::STAmount::operator=(IOUAmount) : is not integral");
"ripple::STAmount::operator=(IOUAmount) : is not integral");
mOffset = iou.exponent();
mIsNegative = iou < beast::zero;
if (mIsNegative)