Skip to content

Commit

Permalink
fix: 'owner' should be 'authority' in associated-token-account.md
Browse files Browse the repository at this point in the history
The old wording seemed incorrect. Solana uses the term 'owner' to mean program owner. I believe this sentence is saying the authority on the new ATA will be the associated wallet, can someone confirm that's correct?
  • Loading branch information
mikemaccana authored Jan 12, 2024
1 parent 23916b2 commit 32d54e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/associated-token-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,4 @@ If the associated token account for a given wallet address does not yet exist,
it may be created by *anybody* by issuing a transaction containing the
instruction returned by [create_associated_token_account](https://docs.rs/spl-associated-token-account/latest/spl_associated_token_account/instruction/fn.create_associated_token_account.html).

Regardless of creator the new associated token account will be fully owned by
the wallet, as if the wallet itself had created it.
Regardless of the creator, the new associated token account's authority will be the wallet, as if the wallet itself had created the associated token account.

0 comments on commit 32d54e5

Please sign in to comment.