Skip to content

Conversation

@febo
Copy link
Collaborator

@febo febo commented Aug 9, 2025

Problem

There are a few instructions that provide an invoke_signed method although the instruction does not require any signer:

  • initialize_account
  • initialize_account_2
  • initialize_account_3
  • initialize_mint
  • initialize_mint_2
  • sync_native

Solution

Remove the unnecessary invoke_signed.

Copy link
Contributor

@rustopian rustopian left a comment

Choose a reason for hiding this comment

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

Same here, looks good.

@febo febo merged commit b77195a into main Aug 12, 2025
11 checks passed
@febo febo deleted the febo/fix-token-2022-instructions branch August 12, 2025 22:26
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.

4 participants