Skip to content

Commit

Permalink
fix: missing BlockNumber update in error struct
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoPittella committed Jan 17, 2025
1 parent 801f18e commit 8071f95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions miden-tx/src/errors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use alloc::{boxed::Box, string::String};
use core::error::Error;

use miden_objects::{
accounts::AccountId, notes::NoteId, AccountError, Felt, ProvenTransactionError,
TransactionInputError, TransactionOutputError,
accounts::AccountId, block::BlockNumber, notes::NoteId, AccountError, Felt,
ProvenTransactionError, TransactionInputError, TransactionOutputError,
};
use miden_verifier::VerificationError;
use thiserror::Error;
Expand Down Expand Up @@ -115,7 +115,7 @@ pub enum DataStoreError {
#[error("account with id {0} not found in data store")]
AccountNotFound(AccountId),
#[error("block with number {0} not found in data store")]
BlockNotFound(u32),
BlockNotFound(BlockNumber),
#[error("failed to create transaction inputs")]
InvalidTransactionInput(#[source] TransactionInputError),
#[error("note with id {0} is already consumed")]
Expand Down

0 comments on commit 8071f95

Please sign in to comment.