Skip to content

Instantly share code, notes, and snippets.

@arcticmatt
Created August 6, 2022 21:44
Show Gist options
  • Save arcticmatt/35880df33ce25dcac858058f71bbf323 to your computer and use it in GitHub Desktop.
Save arcticmatt/35880df33ce25dcac858058f71bbf323 to your computer and use it in GitHub Desktop.
// Old code
pub fn test_ix<'info>(
ctx: Context<'_, '_, '_, 'info, TestIx<'info>>,
test1: Option<bool>,
test2: Option<bool>,
) -> Result<()> {
Ok(())
}
// New code
pub fn test_ix<'info>(
ctx: Context<'_, '_, '_, 'info, TestIx<'info>>,
test1: Option<bool>,
) -> Result<()> {
Ok(())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment