docs: Improve VaultWithdraw documentation (#6068)

This commit is contained in:
Vito Tumas
2025-11-21 22:59:12 +01:00
committed by GitHub
parent fb74dc28e1
commit 58e03190ac

View File

@@ -121,6 +121,8 @@ VaultWithdraw::preclaim(PreclaimContext const& ctx)
if (auto const ret = checkFrozen(ctx.view, dstAcct, vaultAsset))
return ret;
// Cannot return shares to the vault, if the underlying asset was frozen for
// the submitter
if (auto const ret = checkFrozen(ctx.view, account, vaultShare))
return ret;