@@ -40,20 +40,20 @@ use crate::{
4040// }
4141
4242/// Error types related to merkle trees.
43- #[ derive( Debug , Clone , thiserror:: Error ) ]
44- pub enum MerkleTreeError {
45- /// Serialization error
46- #[ error( "Serialization of a merkle tree failed" ) ]
47- SerializationError ,
43+ // #[derive(Debug, Clone, thiserror::Error)]
44+ // pub enum MerkleTreeError {
45+ // /// Serialization error
46+ // #[error("Serialization of a merkle tree failed")]
47+ // SerializationError,
4848
49- /// Invalid merkle path
50- #[ error( "Path does not verify against root" ) ]
51- PathInvalid ( Vec < u8 > ) ,
49+ // /// Invalid merkle path
50+ // #[error("Path does not verify against root")]
51+ // PathInvalid(Vec<u8>),
5252
53- /// Invalid merkle batch path
54- #[ error( "Batch path does not verify against root" ) ]
55- BatchPathInvalid ( Vec < u8 > ) ,
56- }
53+ // /// Invalid merkle batch path
54+ // #[error("Batch path does not verify against root")]
55+ // BatchPathInvalid(Vec<u8>),
56+ // }
5757
5858/// Errors which can be output by Mithril single signature verification.
5959#[ derive( Debug , Clone , thiserror:: Error ) ]
0 commit comments