From e26303f15efce9d4dbf60e2c99916081b87d5891 Mon Sep 17 00:00:00 2001 From: sifnoc Date: Mon, 13 Nov 2023 15:36:57 +0000 Subject: [PATCH] fix: update visibility of MerkleSumTree --- zk_prover/src/merkle_sum_tree/mst.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zk_prover/src/merkle_sum_tree/mst.rs b/zk_prover/src/merkle_sum_tree/mst.rs index dd914542..70c6b39a 100644 --- a/zk_prover/src/merkle_sum_tree/mst.rs +++ b/zk_prover/src/merkle_sum_tree/mst.rs @@ -18,11 +18,11 @@ use num_bigint::BigUint; /// * `N_BYTES`: Range in which each node balance should lie #[derive(Debug, Clone)] pub struct MerkleSumTree { - root: Node, - nodes: Vec>>, - depth: usize, - entries: Vec>, - is_sorted: bool, + pub root: Node, + pub nodes: Vec>>, + pub depth: usize, + pub entries: Vec>, + pub is_sorted: bool, } impl Tree