Skip to content

Commit

Permalink
lang: Mention init constraint requires annotated account to sign (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Sep 13, 2024
1 parent c1485e1 commit c989c8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/derive/accounts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ use syn::parse_macro_input;
/// </td>
/// <td>
/// Creates the account via a CPI to the system program and
/// initializes it (sets its account discriminator).<br>
/// initializes it (sets its account discriminator). The annotated account is required to sign for this instruction
/// unless `seeds` is provided. <br>
/// Marks the account as mutable and is mutually exclusive with <code>mut</code>.<br>
/// Makes the account rent exempt unless skipped with <code>rent_exempt = skip</code>.<br><br>
/// Use <code>#[account(zero)]</code> for accounts larger than 10 Kibibyte.<br><br>
Expand Down

0 comments on commit c989c8e

Please sign in to comment.