Skip to content

interface: Fix the WithdrawExcessLamports authority docs - #200

Merged
joncinque merged 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/withdraw-excess-lamports-authority
Nov 25, 2026
Merged

joncinque merged 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/withdraw-excess-lamports-authority

Conversation

@Iamsohungrynow

Copy link
Copy Markdown
Contributor

the docs say the owner or delegate can sign WithdrawExcessLamports, but p-token only takes the owner (or the mint authority, or the multisig itself), a delegate-signed mainnet simulation fails with owner does not match. docs only, in both interfaces

chinhn1486-cmd

This comment was marked as spam.

@joncinque joncinque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, can you rebase your branch and remove the unnecessary parts?

Comment thread interface/src/instruction.rs Outdated
Comment on lines +481 to +484
/// The authority is the owner of a token account, the mint authority of a
/// mint (or the mint itself when it has no mint authority), or the
/// multisignature account itself. Delegates are not accepted.
///

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this? It doesn't add anything, and the multisignature account itself part is potentially misleading

Comment thread pinocchio/interface/src/instruction.rs Outdated
Comment on lines +568 to +571
/// The authority is the owner of a token account, the mint authority of a
/// mint (or the mint itself when it has no mint authority), or the
/// multisignature account itself. Delegates are not accepted.
///

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this too?

@Iamsohungrynow
Iamsohungrynow force-pushed the docs/withdraw-excess-lamports-authority branch from 7f68046 to 830ae2d Compare November 25, 2026 20:12
@joncinque
joncinque merged commit 38de8d1 into solana-program:main Nov 25, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants