mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Allow existing trust lines to loan brokers to be managed (by issuer)
This commit is contained in:
@@ -231,7 +231,9 @@ SetTrust::preclaim(PreclaimContext const& ctx)
|
||||
else
|
||||
return tecINTERNAL; // LCOV_EXCL_LINE
|
||||
}
|
||||
else if (sleDst->isFieldPresent(sfVaultID))
|
||||
else if (
|
||||
sleDst->isFieldPresent(sfVaultID) ||
|
||||
sleDst->isFieldPresent(sfLoanBrokerID))
|
||||
{
|
||||
if (ctx.view.exists(keylet::line(id, uDstAccountID, currency)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user