Open cryptorrivem opened 1 year ago
Add the ability to model instructions with accounts that are optional (Option<Account<'info, T>>), so we can specify them as null and the instruction method will fill in with the PROGRAM_ID address as Anchor expects for such optional accounts
Option<Account<'info, T>>
null
PROGRAM_ID
Add the ability to model instructions with accounts that are optional (
Option<Account<'info, T>>
), so we can specify them asnull
and the instruction method will fill in with thePROGRAM_ID
address as Anchor expects for such optional accounts