From f33171b32f1a425fd3195a0cdccd0ce1066938d2 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 20 Oct 2020 09:02:51 -0600 Subject: [PATCH] Remove errant print --- transaction-status/src/parse_bpf_loader.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/transaction-status/src/parse_bpf_loader.rs b/transaction-status/src/parse_bpf_loader.rs index 4ca063dfdb..bec1f073c5 100644 --- a/transaction-status/src/parse_bpf_loader.rs +++ b/transaction-status/src/parse_bpf_loader.rs @@ -9,11 +9,8 @@ pub fn parse_bpf_loader( instruction: &CompiledInstruction, account_keys: &[Pubkey], ) -> Result { - let bpf_loader_instruction: LoaderInstruction = - deserialize(&instruction.data).map_err(|err| { - println!("{:?}", err); - ParseInstructionError::InstructionNotParsable(ParsableProgram::BpfLoader) - })?; + let bpf_loader_instruction: LoaderInstruction = deserialize(&instruction.data) + .map_err(|_| ParseInstructionError::InstructionNotParsable(ParsableProgram::BpfLoader))?; if instruction.accounts.is_empty() || instruction.accounts[0] as usize >= account_keys.len() { return Err(ParseInstructionError::InstructionKeyMismatch( ParsableProgram::BpfLoader,