Skip to content

Commit

Permalink
Merge pull request #841 from Chia-Network/remove_unused_datalayer_errors
Browse files Browse the repository at this point in the history
remove unused datalayer errors
  • Loading branch information
altendky authored Jan 7, 2025
2 parents 4362b8c + eb71861 commit f75a040
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/chia-datalayer/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ impl std::fmt::Display for KvId {

#[derive(Debug, Error, PartialEq, Eq)]
pub enum Error {
#[error("unknown NodeType value: {0:?}")]
UnknownNodeTypeValue(u8),

#[error("unknown dirty value: {0:?}")]
UnknownDirtyValue(u8),

// TODO: don't use String here
#[error("failed loading metadata: {0}")]
FailedLoadingMetadata(String),
Expand All @@ -90,9 +84,6 @@ pub enum Error {
#[error("unable to find a leaf")]
UnableToFindALeaf,

#[error("error while finding a leaf: {0:?}")]
FailedWhileFindingALeaf(String),

#[error("unknown key: {0:?}")]
UnknownKey(KvId),

Expand Down

0 comments on commit f75a040

Please sign in to comment.