mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 14:50:54 +00:00
CredentialCreate accepted any existing Subject, including Vault, LoanBroker, and AMM pseudo-accounts. A pseudo-account can't sign, so it can never accept or delete a credential issued to it; the unaccepted credential stays pinned in the pseudo-account's owner directory and blocks deletion of the owning object, locking it and its owner reserve indefinitely. Behind fixCleanup3_4_0: - CredentialCreate::preclaim rejects a pseudo-account Subject with tecPSEUDO_ACCOUNT. - VaultDelete and LoanBrokerDelete remove any credentials pinned to the pseudo-account before deleting it. - isOnlyLiquidityProvider ignores credential entries and deleteAMMAccount removes them, so an AMM pinned before the amendment can still be withdrawn and deleted. This clears objects pinned before the amendment and prevents new pins after it.