summaryrefslogtreecommitdiff
path: root/runtime/ops/crypto.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-12 21:55:05 +0200
committerGitHub <noreply@github.com>2021-04-12 15:55:05 -0400
commit46b1c653c0c433932908b7610f60b409af134c76 (patch)
tree00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /runtime/ops/crypto.rs
parenta20504642d083172f297543f9788b128e9c2e0bc (diff)
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'runtime/ops/crypto.rs')
-rw-r--r--runtime/ops/crypto.rs2
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,