fix: post merge bugs

This commit is contained in:
Vito
2026-05-18 14:34:57 +02:00
parent e1946278f9
commit 13358f5042
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ canApplyToBrokerCover(
sleBroker && sleBroker->getType() == ltLOAN_BROKER,
"xrpl::canApplyToBrokerCover : valid LoanBroker sle");
XRPL_ASSERT(
vaultAsset.getIssuer() == amount.getIssuer() && amount > beast::kZERO,
vaultAsset.getIssuer() == amount.getIssuer() && amount > beast::kZero,
"xrpl::canApplyToBrokerCover : valid amount for asset");
if (!view.rules().enabled(fixCleanup3_2_0))

View File

@@ -129,7 +129,7 @@ LoanBrokerCoverDeposit::doApply()
Number::RoundingMode::Downward);
}();
if (fix320Enabled && amount == beast::kZERO)
if (fix320Enabled && amount == beast::kZero)
{
JLOG(ctx_.journal.warn()) << "LoanBrokerCoverDeposit: deposit amount: " << tx[sfAmount]
<< " is zero at loan broker scale";