Skip to content

Commit

Permalink
fix: incorrect error code for tx hash not found (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Oct 29, 2023
1 parent 640bfd3 commit 02cdf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/katana/rpc/src/api/starknet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub enum StarknetApiError {
#[error("Block not found")]
BlockNotFound = 24,
#[error("Transaction hash not found")]
TxnHashNotFound = 25,
TxnHashNotFound = 29,
#[error("Invalid transaction index in a block")]
InvalidTxnIndex = 27,
#[error("Class hash not found")]
Expand Down

0 comments on commit 02cdf33

Please sign in to comment.