diff options
| author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-12 21:55:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-12 15:55:05 -0400 |
| commit | 46b1c653c0c433932908b7610f60b409af134c76 (patch) | |
| tree | 00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /runtime/ops/crypto.rs | |
| parent | a20504642d083172f297543f9788b128e9c2e0bc (diff) | |
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'runtime/ops/crypto.rs')
| -rw-r--r-- | runtime/ops/crypto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/crypto.rs b/runtime/ops/crypto.rs index 43a9d1126..432cc0185 100644 --- a/runtime/ops/crypto.rs +++ b/runtime/ops/crypto.rs @@ -10,7 +10,7 @@ pub fn init(rt: &mut deno_core::JsRuntime, maybe_seed: Option<u64>) { let mut state = op_state.borrow_mut(); state.put::<StdRng>(rng); } - super::reg_json_sync( + super::reg_sync( rt, "op_crypto_get_random_values", op_crypto_get_random_values, |
