diff --git a/transaction-status/src/parse_associated_token.rs b/transaction-status/src/parse_associated_token.rs index 96052dff7fd1c8..db66c2e0742924 100644 --- a/transaction-status/src/parse_associated_token.rs +++ b/transaction-status/src/parse_associated_token.rs @@ -24,8 +24,11 @@ pub fn parse_associated_token( let ata_instruction = if instruction.data.is_empty() { AssociatedTokenAccountInstruction::Create } else { - AssociatedTokenAccountInstruction::try_from_slice(&instruction.data) - .map_err(|_| ParseInstructionError::InstructionNotParsable(ParsableProgram::SplToken))? + AssociatedTokenAccountInstruction::try_from_slice(&instruction.data).map_err(|_| { + ParseInstructionError::InstructionNotParsable( + ParsableProgram::SplAssociatedTokenAccount, + ) + })? }; match ata_instruction {