Skip to content

Conversation

tiago18c
Copy link
Contributor

Running spl-token create-token --program-2022 --transfer-hook 11111111111111111111111111111111 would error out, when its expected to be a valid value that represents the lack of a transfer-hook program. This PR fixes this.

Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Just a nit, then we can get this in, thanks for the contribution!

@tiago18c tiago18c requested a review from joncinque August 22, 2025 11:09
Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@joncinque joncinque merged commit 083d4a8 into solana-program:main Aug 25, 2025
23 checks passed
@joncinque joncinque changed the title Fixed --transfer-hook CLI option not allowing default Pubkey as value cli: Fixed --transfer-hook CLI option not allowing default Pubkey as value Aug 25, 2025
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.

2 participants