mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-31 19:10:25 +00:00
Restore unconditional IgnoreFreeze in VaultWithdraw::doApply when fixCleanup3_3_0 is enabled. That accountHolds reads the submitter's share balance, which recurses into the underlying asset, so freeze gating must stay in preclaim; a dstAcct==issuer guard there wrongly blocked self-withdrawal under a regular freeze. Apply issuer-aware freeze handling to LoanBrokerCoverWithdraw::preclaim so the issuer can redeem their own token from the broker pseudo-account even under a global freeze, matching AMM and Vault. Here accountHolds reads the pseudo-account's holdings, so the issuer-only IgnoreFreeze is both necessary and sufficient. Rename the checkWithdrawFreeze source parameter to srcAcct to match its definition, drop a misleading comment, and hoist the fixCleanup feature flags into named locals.