Skip to content

Commit

Permalink
refactor: change DataStore::NoteNotFound variant to take NoteId
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth committed Jan 23, 2024
1 parent 341f692 commit cb685c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miden-tx/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use core::fmt;

use miden_objects::{
assembly::AssemblyError, crypto::merkle::NodeIndex, Felt, NoteError, TransactionInputError,
assembly::AssemblyError, notes::NoteId, Felt, NoteError, TransactionInputError,
TransactionOutputError,
};
use miden_verifier::VerificationError;
Expand Down Expand Up @@ -110,7 +110,7 @@ pub enum DataStoreError {
BlockNotFound(u32),
InvalidTransactionInput(TransactionInputError),
InternalError(String),
NoteNotFound(u32, NodeIndex),
NoteNotFound(NoteId),
}

impl fmt::Display for DataStoreError {
Expand Down

0 comments on commit cb685c2

Please sign in to comment.