Allow existing trust lines to loan brokers to be managed (by issuer)

This commit is contained in:
Ed Hennis
2025-05-05 14:42:35 -04:00
parent 3d01829a16
commit b5c1301f78

View File

@@ -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)))
{