You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into a funny bug in the #beginner-questions discord: someone was using a accounts struct with a program_id: AccountInfo<'info> field. This breaks the derive macro output, because the generated try_accounts impl is already using the name program_id (you'd get a similar error if you used a field called accounts or ix_data).
The text was updated successfully, but these errors were encountered:
Ran into a funny bug in the #beginner-questions discord: someone was using a accounts struct with a
program_id: AccountInfo<'info>
field. This breaks the derive macro output, because the generatedtry_accounts
impl is already using the nameprogram_id
(you'd get a similar error if you used a field calledaccounts
orix_data
).The text was updated successfully, but these errors were encountered: