Skip to content

Commit 5f8f2cf

Browse files
refactor: remove default contraint in merkle tree trait (#1004)
1 parent 7a336ca commit 5f8f2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/crypto/src/merkle_tree/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use rayon::prelude::{IntoParallelRefIterator, ParallelIterator};
55
/// A backend for Merkle trees. This defines raw `Data` from which the Merkle
66
/// tree is built from. It also defines the `Node` type and the hash function
77
/// used to build parent nodes from children nodes.
8-
pub trait IsMerkleTreeBackend: Default {
8+
pub trait IsMerkleTreeBackend {
99
type Node: PartialEq + Eq + Clone + Sync + Send;
1010
type Data: Sync + Send;
1111

0 commit comments

Comments
 (0)