diff --git a/programs/7-bump-seed-canonicalization/recommended/src/lib.rs b/programs/7-bump-seed-canonicalization/recommended/src/lib.rs index 59942b8..032ce2e 100644 --- a/programs/7-bump-seed-canonicalization/recommended/src/lib.rs +++ b/programs/7-bump-seed-canonicalization/recommended/src/lib.rs @@ -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