Skip to content

Commit 1b69227

Browse files
committed
Merge branch 'refactor/use-lambdaworks-merkle-tree' into feat/verify-agg-proof-on-chain
2 parents f49f9c1 + 002102b commit 1b69227

File tree

1 file changed

+0
-5
lines changed
  • batcher/aligned-sdk/src/sdk/aggregation

1 file changed

+0
-5
lines changed

batcher/aligned-sdk/src/sdk/aggregation/types.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ impl IsMerkleTreeBackend for Hash32 {
6565
leaf.0
6666
}
6767

68-
/// Leaves don't have to be hashed as the blob already contains the proof commitments (which represent the merkle leaves)
69-
fn hash_leaves(leaves: &[Self::Data]) -> Vec<Self::Node> {
70-
leaves.iter().map(|l| l.0).collect()
71-
}
72-
7368
fn hash_new_parent(child_1: &Self::Node, child_2: &Self::Node) -> Self::Node {
7469
let mut hasher = Keccak256::new();
7570
hasher.update(child_1);

0 commit comments

Comments
 (0)