From c07e72fce57d7f1cc855f4fbb9b821ba208ea315 Mon Sep 17 00:00:00 2001 From: Iamsohungrynow <261225237+Iamsohungrynow@users.noreply.github.com> Date: Sun, 8 Nov 2026 00:36:52 +0800 Subject: [PATCH] program: Fix the account docs for CloseAccount and Reallocate --- program/src/instruction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/instruction.rs b/program/src/instruction.rs index 8468b73..c52f18b 100644 --- a/program/src/instruction.rs +++ b/program/src/instruction.rs @@ -48,7 +48,7 @@ pub enum RecordInstruction<'a> { /// /// 0. `[writable]` Record account, must be previously initialized /// 1. `[signer]` Record authority - /// 2. `[]` Receiver of account lamports + /// 2. `[writable]` Receiver of account lamports CloseAccount, /// Reallocate additional space in a record account @@ -59,7 +59,7 @@ pub enum RecordInstruction<'a> { /// Accounts expected by this instruction: /// /// 0. `[writable]` The record account to reallocate - /// 1. `[signer]` The account's owner + /// 1. `[signer]` Record authority Reallocate { /// The length of the data to hold in the record account excluding meta /// data