Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ledwards2225 committed Jun 15, 2023
1 parent a6a1f17 commit 4a4b88c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,8 @@ template <typename Composer> void generate_merkle_membership_test_circuit(Compos
auto idx_ct = field_ct(witness_ct(&composer, fr(idx))).decompose_into_bits();
auto value_ct = field_ct(value);

merkle_tree::check_membership(root_ct,
merkle_tree::create_witness_hash_path(composer, merkle_tree.get_hash_path(idx)),
field_ct(value),
idx_ct);
merkle_tree::check_membership(
root_ct, merkle_tree::create_witness_hash_path(composer, merkle_tree.get_hash_path(idx)), value_ct, idx_ct);
}
}

Expand Down

0 comments on commit 4a4b88c

Please # to comment.