Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 9de854e

Browse files
author
Tyera Eulberg
committed
Gracefully fail key len mismatches
1 parent 001a9fb commit 9de854e

File tree

2 files changed

+320
-23
lines changed

2 files changed

+320
-23
lines changed

transaction-status/src/parse_instruction.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ pub enum ParseInstructionError {
2626
#[error("{0:?} instruction not parsable")]
2727
InstructionNotParsable(ParsableProgram),
2828

29+
#[error("{0:?} instruction key mismatch")]
30+
InstructionKeyMismatch(ParsableProgram),
31+
2932
#[error("Program not parsable")]
3033
ProgramNotParsable,
3134
}

0 commit comments

Comments
 (0)