Skip to content

Commit

Permalink
Merge pull request #12073 from MinaProtocol/field-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivo25 committed Nov 8, 2022
2 parents edab43f + e48ebff commit 395c9e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/lib/snarky_js_bindings/lib/snarky_js_bindings_lib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,6 @@ let () =
with Failure _ -> Js.Opt.empty )
| _ ->
Js.Opt.empty ) ;
let from f x = new%js field_constr (As_field.of_field (f x)) in
static_method "fromNumber" (from As_field.of_number_exn) ;
static_method "fromString" (from As_field.of_string_exn) ;
static_method "fromBigInt" (from As_field.of_bigint_exn) ;
static_method "check" (fun _x -> ())

let () =
Expand Down
2 changes: 1 addition & 1 deletion src/lib/snarky_js_bindings/snarkyjs

0 comments on commit 395c9e3

Please sign in to comment.