Skip to content

interface: Fix the WithdrawExcessLamports authority docs - #200

Open
Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/withdraw-excess-lamports-authority
Open

Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/withdraw-excess-lamports-authority

Conversation

@Iamsohungrynow

Copy link
Copy Markdown

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 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 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?

This branch has not been deployed

No deployments
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