Skip to content

Commit

Permalink
modified multipath to derivative(PartialEq...)
Browse files Browse the repository at this point in the history
Co-authored-by: Pratyush Mishra <[email protected]>
  • Loading branch information
intx4 and Pratyush authored Jan 18, 2024
1 parent 5548bd7 commit d849e80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/merkle_tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ pub type LeafParam<P> = <<P as Config>::LeafHash as CRHScheme>::Parameters;
/// [I] J
/// ```
/// Suppose we want to prove I, then `leaf_sibling_hash` is J, `auth_path` is `[C,D]`
#[derive(PartialEq, Derivative, CanonicalSerialize, CanonicalDeserialize)]
#[derive(Derivative, CanonicalSerialize, CanonicalDeserialize)]
#[derivative(
PartialEq(bound = "P: Config"),
Clone(bound = "P: Config"),
Debug(bound = "P: Config"),
Default(bound = "P: Config")
Expand Down

0 comments on commit d849e80

Please sign in to comment.