mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 01:37:00 +00:00
fix: post merge bugs
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user