Skip to content

Commit

Permalink
Js: code prettifying
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonichon committed Aug 22, 2023
1 parent d74fa17 commit 5c8d417
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kimchi/js/bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1744,15 +1744,12 @@ var caml_plonk_verification_evals_to_rust = function (
klass,
poly_comm_to_rust
) {

var convert_opt = function (poly_comm_opt) {
// Borrowing from caml_option_to_maybe_undefined
if (poly_comm_opt === 0) {
return undefined;
}
return poly_comm_to_rust(
poly_comm_opt[1]
);
return poly_comm_to_rust(poly_comm_opt[1]);
};

var convertArray = function (comms) {
Expand Down

0 comments on commit 5c8d417

Please sign in to comment.