mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
When updating an existing LoanBroker (LoanBrokerID present), VaultID must not be provided — the vault association is read from the broker object on ledger. VaultID remains required when creating a new LoanBroker. This change is gated behind fixLendingProtocolV1_1; pre-amendment behavior is preserved for historical transaction replay. - Change sfVaultID from soeREQUIRED to soeOPTIONAL - Gate VaultID field presence rules in preflight by amendment - Refactor preclaim into readVault/preclaimUpdate/preclaimCreate - Add pre- and post-amendment unit test coverage