Compare commits

...

2 Commits

Author SHA1 Message Date
Mike MacCana f94689a1de
Merge 4df09a9a3e into 81c8c556e8 2024-04-26 15:17:03 -04:00
Mike MacCana 4df09a9a3e fix unused variable warning on new projects 2024-04-26 15:16:54 -04:00
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ pub mod {} {{
use super::*;
pub fn initialize(ctx: Context<Initialize>) -> Result<()> {{
msg!("Greetings from: {{:?}}", ctx.program_id);
Ok(())
}}
}}
@ -145,6 +146,7 @@ pub use initialize::*;
pub struct Initialize {}
pub fn handler(ctx: Context<Initialize>) -> Result<()> {
msg!("Greetings from: {{:?}}", ctx.program_id);
Ok(())
}
"#