From 830ae2d6ff10380660fb3e11e2c8fc43938e3c44 Mon Sep 17 00:00:00 2001 From: Iamsohungrynow <261225237+Iamsohungrynow@users.noreply.github.com> Date: Thu, 19 Nov 2026 03:19:19 +0800 Subject: [PATCH] interface: Fix the WithdrawExcessLamports authority docs --- interface/src/instruction.rs | 8 ++++---- pinocchio/interface/src/instruction.rs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/interface/src/instruction.rs b/interface/src/instruction.rs index deab7afe..9fb7a46d 100644 --- a/interface/src/instruction.rs +++ b/interface/src/instruction.rs @@ -480,15 +480,15 @@ pub enum TokenInstruction<'a> { /// /// Accounts expected by this instruction: /// - /// * Single owner/delegate + /// * Single authority /// 0. `[writable]` The source account. /// 1. `[writable]` The destination account. - /// 2. `[signer]` The source account's owner/delegate. + /// 2. `[signer]` The source account's authority. /// - /// * Multisignature owner/delegate + /// * Multisignature authority /// 0. `[writable]` The source account. /// 1. `[writable]` The destination account. - /// 2. `[]` The source account's multisignature owner/delegate. + /// 2. `[]` The source account's multisignature authority. /// 3. `..+M` `[signer]` M signer accounts. WithdrawExcessLamports = 38, /// Transfer lamports from a native SOL account to a destination account. diff --git a/pinocchio/interface/src/instruction.rs b/pinocchio/interface/src/instruction.rs index 1dfc4330..ab3bdd3d 100644 --- a/pinocchio/interface/src/instruction.rs +++ b/pinocchio/interface/src/instruction.rs @@ -567,15 +567,15 @@ pub enum TokenInstruction { /// /// Accounts expected by this instruction: /// - /// * Single owner/delegate + /// * Single authority /// 0. `[writable]` The source account. /// 1. `[writable]` The destination account. - /// 2. `[signer]` The source account's owner/delegate. + /// 2. `[signer]` The source account's authority. /// - /// * Multisignature owner/delegate + /// * Multisignature authority /// 0. `[writable]` The source account. /// 1. `[writable]` The destination account. - /// 2. `[]` The source account's multisignature owner/delegate. + /// 2. `[]` The source account's multisignature authority. /// 3. `..+M` `[signer]` M signer accounts. WithdrawExcessLamports = 38,