Skip to content

Commit

Permalink
cli: fix template (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante committed Feb 21, 2022
1 parent 24ccaea commit 99403bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ declare_id!("{}");
#[program]
pub mod {} {{
use super::*;
pub fn initialize(ctx: Context<Initialize>) -> ProgramResult {{
pub fn initialize(ctx: Context<Initialize>) -> Result<()> {{
Ok(())
}}
}}
Expand Down

0 comments on commit 99403bf

Please sign in to comment.