Skip to content

Commit

Permalink
IT WORKS!
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 24, 2024
1 parent 11596b6 commit d0907fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions noir-projects/aztec-nr/aztec/src/macros/notes/mod.nr
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ comptime fn generate_multi_scalar_mul(
let generator_y = generators[0].y;

generators_list = generators_list.push_back(
f"aztec::protocol_types::point::Point {{ x: {generator_x}, y: {generator_y}, is_infinite: false }}"
.quoted_contents(),
quote {
aztec::protocol_types::point::Point { x: $generator_x, y: $generator_y, is_infinite: false }
},
);
scalars_list =
scalars_list.push_back(quote { std::hash::from_field_unsafe($flattened_as_field) });
Expand Down

0 comments on commit d0907fd

Please sign in to comment.