Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
unordered-set authored Jul 16, 2022
1 parent 24555d0 commit fe34c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct BumpSeed<'info> {
// Usually, the usage of PDAs is broken into two parts:
//
// 1) allocation via `#[account(init, seeds = [...], bump)]`
// 2) using the account via `#[account(init, seeds = [...], bump = data.bump)]
// 2) using the account via `#[account(mut, seeds = [...], bump = data.bump)]`
//
// When using a PDA, it's usually recommend to store the bump seed in the
// account data, so that you can use it as demonstrated in 2), which will
Expand Down

0 comments on commit fe34c0b

Please sign in to comment.