fn next(&mut self, depth: usize, tree: &MerkleTree) -> MerkleNode {
        self.queue
            .pop_front()
            .unwrap_or_else(|| tree.empty_node(depth))
    }
/// Pop the first element from the queue
Pop the first element from the queue
Pop the first element from the queue
fn next(&mut self, depth: usize, tree: &MerkleTree) -> MerkleNode {
        self.queue
            .pop_front()
            .unwrap_or_else(|| tree.empty_node(depth))
    }
fn next ( & mut self , depth : usize , tree : & MerkleTree ) -> MerkleNode { self . queue . pop_front ( ) . unwrap_or_else ( | | tree . empty_node ( depth ) ) }
Pop the first element from the queue
Pop the first element from the queue
&mut self
depth
usize
tree
&MerkleTree
&mut self
depth
usize
tree
&MerkleTree