diff options
Diffstat (limited to 'op_crates')
-rw-r--r-- | op_crates/crypto/01_crypto.js | 2 | ||||
-rw-r--r-- | op_crates/crypto/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/op_crates/crypto/01_crypto.js b/op_crates/crypto/01_crypto.js index 27f630b7e..594fc81b0 100644 --- a/op_crates/crypto/01_crypto.js +++ b/op_crates/crypto/01_crypto.js @@ -36,7 +36,7 @@ arrayBufferView.byteOffset, arrayBufferView.byteLength, ); - core.jsonOpSync("op_get_random_values", {}, ui8); + core.jsonOpSync("op_crypto_get_random_values", {}, ui8); return arrayBufferView; } diff --git a/op_crates/crypto/lib.rs b/op_crates/crypto/lib.rs index d7644166c..61290080d 100644 --- a/op_crates/crypto/lib.rs +++ b/op_crates/crypto/lib.rs @@ -25,7 +25,7 @@ pub fn init(isolate: &mut JsRuntime) { } } -pub fn op_get_random_values( +pub fn op_crypto_get_random_values( state: &mut OpState, _args: Value, zero_copy: &mut [ZeroCopyBuf], |