From f61bb51d5a43ee5f870068c435ce747b3219a0d4 Mon Sep 17 00:00:00 2001 From: De Facto Date: Wed, 17 Feb 2021 21:38:19 +0800 Subject: [PATCH] oops uncomment --- program/src/entrypoint.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/program/src/entrypoint.rs b/program/src/entrypoint.rs index 4a9b973..9571311 100644 --- a/program/src/entrypoint.rs +++ b/program/src/entrypoint.rs @@ -15,12 +15,12 @@ fn process_instruction<'a>( accounts: &'a [AccountInfo<'a>], instruction_data: &[u8], ) -> ProgramResult { - msg!("call aggregator yo"); - // if let Err(error) = Processor::process(program_id, accounts, instruction_data) { - // // catch the error so we can print it - // // error.print::(); - // // msg!("{:?}", error); - // return Err(error); - // } + msg!("calling aggregator yo"); + if let Err(error) = Processor::process(program_id, accounts, instruction_data) { + // catch the error so we can print it + // error.print::(); + // msg!("{:?}", error); + return Err(error); + } Ok(()) }