Skip to content

Commit

Permalink
Merge pull request #430 from 0xPolygonMiden/bobbin-note-not-found
Browse files Browse the repository at this point in the history
Change `DataStore::NoteNotFound` variant to take `NoteId`
  • Loading branch information
bobbinth authored Jan 23, 2024
2 parents 4e6909b + cb685c2 commit f504354
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 f504354

Please sign in to comment.