summaryrefslogtreecommitdiffstats
path: root/src/proof.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/proof.rs')
-rw-r--r--src/proof.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/proof.rs b/src/proof.rs
index 4c42841..c893b08 100644
--- a/src/proof.rs
+++ b/src/proof.rs
@@ -110,12 +110,7 @@ impl Proofer for DefaultProofer<'_> {
buffer.extend_from_slice(right_hash);
let hash = self.hasher.hash(&buffer);
- next_level.push(Node::new_internal(
- &buffer,
- hash,
- left.clone(),
- right.clone(),
- ));
+ next_level.push(Node::new_internal(hash, left.clone(), right.clone()));
}
current_level = next_level;
current_index /= 2;