Add WaiveTransferFee::Yes for consistency

This has no actual effect since we do not set TransferRate in
mptIssuance of the vault shares; and transfers to the issuer are never
subject to TransferRate.
This commit is contained in:
Bronek Kozicki
2025-03-21 16:47:06 +00:00
parent 0959bf82b7
commit 1f005d2370

View File

@@ -169,11 +169,13 @@ VaultClawback::doApply()
auto const& vaultAccount = vault->at(sfAccount);
// Transfer shares from holder to vault.
if (auto ter = accountSend(view(), holder, vaultAccount, shares, j_))
if (auto ter = accountSend(
view(), holder, vaultAccount, shares, j_, WaiveTransferFee::Yes))
return ter;
// Transfer assets from vault to issuer.
if (auto ter = accountSend(view(), vaultAccount, account_, assets, j_))
if (auto ter = accountSend(
view(), vaultAccount, account_, assets, j_, WaiveTransferFee::Yes))
return ter;
// Sanity check