summaryrefslogtreecommitdiff
path: root/op_crates/crypto/01_crypto.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-05 18:40:24 +0200
committerGitHub <noreply@github.com>2021-04-05 18:40:24 +0200
commit2aed322dd507a8568b6ee6f4897e9a8e3220f763 (patch)
treee9a45c0b7688a9881ea9ce132b92554ef2955ad6 /op_crates/crypto/01_crypto.js
parent284e6c303956e8ca20af63b4ecc045438a260fe6 (diff)
refactor: convert ops to use serde_v8 (#10009)
This commit rewrites most of the ops to use "serde_v8" instead of "json" serialization.
Diffstat (limited to 'op_crates/crypto/01_crypto.js')
-rw-r--r--op_crates/crypto/01_crypto.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/op_crates/crypto/01_crypto.js b/op_crates/crypto/01_crypto.js
index ce13dc74c..f0cb1d823 100644
--- a/op_crates/crypto/01_crypto.js
+++ b/op_crates/crypto/01_crypto.js
@@ -37,7 +37,7 @@
arrayBufferView.byteOffset,
arrayBufferView.byteLength,
);
- core.jsonOpSync("op_crypto_get_random_values", {}, ui8);
+ core.jsonOpSync("op_crypto_get_random_values", null, ui8);
return arrayBufferView;
}