1

I made an error creating an account with seeds. A program is the owner of this account. Is it possible for me to close this or only the program?

wxecqz123
  • 325
  • 1
  • 5
  • 12

1 Answers1

2

Only the owning program may close an account.

Otherwise, you could use createAccountWithSeed for someone else, and still close their account. For example, you'd create a token account with me as the owner, but then you can close it rather than me. That would be catastrophic!

Jon C
  • 7,019
  • 10
  • 17