|
@@ -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(())
|
|
|
}
|
|
|
"#
|