cli: fix template (#1486)

This commit is contained in:
Armani Ferrante 2022-02-21 10:09:12 -05:00 committed by GitHub
parent 24ccaea903
commit 99403bff7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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