Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token metadata: replace IncorrectMintAuthority with TokenError::OwnerMismatch #5615

Conversation

buffalojoec
Copy link
Contributor

As per discussions on #5596, this PR removes the IncorrectMintAuthority error variant from TokenMetadataError and replaces it with TokenError::OwnerMismatch to follow already pre-established patterns, and allow this error handling to be shared across interfaces/extensions such as SPL Token Group.

Copy link
Contributor Author

buffalojoec commented Oct 19, 2023

@buffalojoec
Copy link
Contributor Author

Scrapping this, too. I wanted to share some of these repeated things like functions and errors across interfaces, but I don't think it's worth the trouble.

@buffalojoec buffalojoec deleted the 10-19-token_metadata_replace_IncorrectMintAuthority_with_TokenError_OwnerMismatch_ branch February 23, 2024 21:37
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.

1 participant