fixup! Start implementing LoanBrokerCoverWithdraw.Destination field

This commit is contained in:
Ed Hennis
2025-07-16 12:55:23 -04:00
parent 89dbb48860
commit 10b73525be

View File

@@ -125,7 +125,7 @@ LoanBrokerCoverWithdraw::preclaim(PreclaimContext const& ctx)
}
// Destination MPToken must exist (if asset is an MPT)
if (auto const ter = requireAuth(ctx.view, vaultAsset, dstAcct))
if (auto const ter = requireAuth(ctx.view, vaultAsset, dstAcct, authType))
return ter;
// The broker's pseudo-account is the source of funds.