Skip to content

Commit

Permalink
fix: update visibility of MerkleSumTree
Browse files Browse the repository at this point in the history
  • Loading branch information
sifnoc committed Nov 13, 2023
1 parent 8ab0b07 commit e26303f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zk_prover/src/merkle_sum_tree/mst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ use num_bigint::BigUint;
/// * `N_BYTES`: Range in which each node balance should lie
#[derive(Debug, Clone)]
pub struct MerkleSumTree<const N_ASSETS: usize, const N_BYTES: usize> {
root: Node<N_ASSETS>,
nodes: Vec<Vec<Node<N_ASSETS>>>,
depth: usize,
entries: Vec<Entry<N_ASSETS>>,
is_sorted: bool,
pub root: Node<N_ASSETS>,
pub nodes: Vec<Vec<Node<N_ASSETS>>>,
pub depth: usize,
pub entries: Vec<Entry<N_ASSETS>>,
pub is_sorted: bool,
}

impl<const N_ASSETS: usize, const N_BYTES: usize> Tree<N_ASSETS, N_BYTES>
Expand Down

0 comments on commit e26303f

Please sign in to comment.