pub fn from_tree(tree: &MerkleTree) -> IncrementalMerkleWitness {
        assert!(tree.last_filled_position != 0 || tree.left.is_some());
        IncrementalMerkleWitness {
            tree: tree.clone(),
            filled_subtree_roots: vec![],
            current_subtree_depth: 0,
            current_subtree: None,
        }
    }
/// Create a `MerkleWitness` for the most recent commitment to the input Merkle Tree `tree`
Create a `MerkleWitness` for the most recent commitment to the input Merkle Tree `tree`
Create a ` MerkleWitness ` for the most recent commitment to the input Merkle Tree ` tree `
pub fn from_tree(tree: &MerkleTree) -> IncrementalMerkleWitness {
        assert!(tree.last_filled_position != 0 || tree.left.is_some());
        IncrementalMerkleWitness {
            tree: tree.clone(),
            filled_subtree_roots: vec![],
            current_subtree_depth: 0,
            current_subtree: None,
        }
    }
pub fn from_tree ( tree : & MerkleTree ) -> IncrementalMerkleWitness { assert ! ( tree last_filled_position 0 tree left is_some ( ) ) ; IncrementalMerkleWitness { tree : tree . clone ( ) , filled_subtree_roots : vec ! [ ] , current_subtree_depth : 0 , current_subtree : None , } }
Create a `MerkleWitness` for the most recent commitment to the input Merkle Tree `tree`
Create a ` MerkleWitness ` for the most recent commitment to the input Merkle Tree ` tree `
tree
&MerkleTree
tree
&MerkleTree