Fix more build errors

This commit is contained in:
Ed Hennis
2025-10-23 14:28:03 -04:00
parent e306a7c75f
commit 9f5bc8f0da

View File

@@ -1190,10 +1190,10 @@ computeLoanProperties(
// over payments)
auto const loanScale = totalValueOutstanding.exponent();
XRPL_ASSERT_PARTS(
totalValueOutstanding.integral() && loanScale == 0 ||
!totalValueOutstanding.integral() &&
loanScale ==
static_cast<Number>(totalValueOutstanding).exponent(),
(totalValueOutstanding.integral() && loanScale == 0) ||
(!totalValueOutstanding.integral() &&
loanScale ==
static_cast<Number>(totalValueOutstanding).exponent()),
"ripple::computeLoanProperties",
"loanScale value fits expectations");