From 6dc5be17b263d03a54afb74cd56c1235b6d80f68 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 20 Oct 2020 08:56:36 -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..2067e4c923 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(|err| ParseInstructionError::InstructionNotParsable(ParsableProgram::BpfLoader))?; if instruction.accounts.is_empty() || instruction.accounts[0] as usize >= account_keys.len() { return Err(ParseInstructionError::InstructionKeyMismatch( ParsableProgram::BpfLoader,