Skip to content

Commit ada0089

Browse files
committed
rev mark_witness_as_used in biggroup ctor.
1 parent 8a38fe0 commit ada0089

File tree

1 file changed

+0
-1
lines changed
  • barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup

1 file changed

+0
-1
lines changed

barretenberg/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ template <class Builder_, class Fq, class Fr, class NativeGroup> class element {
101101
// Create _is_infinity as a witness with the actual infinity status.
102102
// Security: Since assert_on_curve is true, validate_on_curve() enforces that if infinity=true, then x = y = 0.
103103
bool_ct is_infinity = bool_ct(witness_ct(ctx, input.is_point_at_infinity()));
104-
mark_witness_as_used(field_t<Builder>(is_infinity));
105104

106105
// Construct the biggroup element with private constructor to avoid redundant on-curve check
107106
element out = element(x, y, is_infinity, /*assert_on_curve=*/true);

0 commit comments

Comments
 (0)