/// Verifies the tree by ensuring that all inner nodes' hashes are
/// equivalent to the hash of their child nodes.
Verifies the tree by ensuring that all inner nodes' hashes are
equivalent to the hash of their child nodes.
Verifies the tree by ensuring that all inner nodes ' hashes are equivalent to the hash of their child nodes .
fn verify_tree(&self) -> Result<(), HashTreeError> {
        self.root.verify().map_err(|label| HashTreeError::InvalidTree {
            leaf_label: label,
            tree_height: self.height,
            children_per_node: self.children_per_node,
        })
    }
fn verify_tree ( & self ) -> Result < ( ) , HashTreeError > { self . root . verify ( ) . map_err ( | label | HashTreeError :: InvalidTree { leaf_label : label , tree_height : self . height , children_per_node : self . children_per_node , } ) }
Verifies the tree by ensuring that all inner nodes' hashes are
equivalent to the hash of their child nodes.
Verifies the tree by ensuring that all inner nodes ' hashes are equivalent to the hash of their child nodes .
&self