mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fixup! fixup! Fix divide by 0 error on 0-interest loans; allow broker to self-lend
This commit is contained in:
@@ -1844,7 +1844,7 @@ class Loan_test : public beast::unit_test::suite
|
||||
++types[object[sfLedgerEntryType].asString()];
|
||||
}
|
||||
BEAST_EXPECT(types.size() == 4);
|
||||
for (std::string const& type :
|
||||
for (std::string const type :
|
||||
{"MPToken", "Vault", "LoanBroker", "Loan"})
|
||||
{
|
||||
BEAST_EXPECT(types[type] == 1);
|
||||
|
||||
Reference in New Issue
Block a user