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

Keep getting "This account may not be used to pay transaction fees" #80

Closed
SyahmiRafsan opened this issue Nov 13, 2022 · 2 comments
Closed

Comments

@SyahmiRafsan
Copy link

SyahmiRafsan commented Nov 13, 2022

Hi, thanks for the awesome tool!

I may be wrong in the way that I use the playground but after one or two deployments/upgrades, I started to get this error.

Create buffer error: failed to send transaction: Transaction simulation failed: This account may not be used to pay transaction fees

My workaround is to create a new wallet every time I hit this error and re-deploy the program again or to create a new program credentials before deploying again.

Thanks!

@acheroncrypto
Copy link
Member

Hey thank you! I've answered why this is happening in #74 (comment).

TL;DR is Anchor doesn't block initializing your own wallet as a program account but it should be fixed in the upcoming Anchor version.

@SyahmiRafsan
Copy link
Author

Thanks for the reply @acheroncrypto, appreciate it.

So sorry for not checking the closed issue tab before asking this. Keep up the good work!

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

No branches or pull requests

2 participants