Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

cli: spl-token, fix parameter parsing bug #5722

Conversation

norwnd
Copy link

@norwnd norwnd commented Nov 3, 2023

Possibly resolves solana-labs/solana#33938

I was browsing through this code, and this looks like a typo(bug) to me.

@buffalojoec
Copy link
Contributor

Hey @norwnd thanks for contributing and working to solve this issue!

I was just looking into this, too when @joncinque shipped this fix #5734

The issue wasn't that it was supposed to be mint_authority, but rather the command was defined as program_authority but the parser was looking for authority. Obviously it doesn't find it, so it defaults to the local keypair, as mentioned in the issue you commented on.

Thanks again!

@buffalojoec buffalojoec closed this Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solana CLI spl-token: Command set-transfer-hook-program: Unclear how to provide "Transfer Hook Authority"
2 participants