From 93e8a5d4cd3bef7216b0726bb5990806d44a9bd7 Mon Sep 17 00:00:00 2001 From: callumweb3 Date: Sun, 23 Aug 2026 16:21:11 +0100 Subject: [PATCH] docs: fix protocol claim fees account list Update the `process_protocol_claim_fees` account documentation to match the accounts required by the implementation. The docs were missing the `delegation_program_data` account, while the code requires it to load the protocol program upgrade authority. The account list now documents all three accounts with their correct indices and order. --- src/processor/protocol_claim_fees.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/processor/protocol_claim_fees.rs b/src/processor/protocol_claim_fees.rs index 75d8cbf3..43bece49 100644 --- a/src/processor/protocol_claim_fees.rs +++ b/src/processor/protocol_claim_fees.rs @@ -14,8 +14,9 @@ use crate::{ /// /// Accounts: /// -/// 1. `[signer]` admin account that can claim the fees -/// 2. `[writable]` protocol fees vault PDA +/// 0: `[signer]` admin account that can claim the fees +/// 1: `[writable]` protocol fees vault PDA +/// 2: `[]` delegation program data account /// /// Requirements: ///