Skip to content

Commit

Permalink
mpc: add MerkleTree::entropy method
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 27, 2023
1 parent 9723b32 commit 9e369b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commit_verify/src/mpc/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,7 @@ impl MerkleTree {

pub fn depth(&self) -> u4 { self.depth }

pub fn entropy(&self) -> u64 { self.entropy }

fn as_ordered_map(&self) -> &OrderedMap { &self.map }
}

0 comments on commit 9e369b3

Please sign in to comment.