Skip to content

Instantly share code, notes, and snippets.

@arcticmatt
Last active August 6, 2022 21:42
Show Gist options
  • Save arcticmatt/183e1c1b71b61b6bf2ec6493589e6d8a to your computer and use it in GitHub Desktop.
Save arcticmatt/183e1c1b71b61b6bf2ec6493589e6d8a to your computer and use it in GitHub Desktop.
// Old code
#[account]
pub struct FooAccount {
pubkey: Option<Pubkey>,
}
// New code
#[account]
pub struct FooAccount {
pubkey: Option<Pubkey>,
test: bool,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment