summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/internal/crypto/random.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/internal/crypto/random.ts b/ext/node/polyfills/internal/crypto/random.ts
index 07d91976a..04678b6be 100644
--- a/ext/node/polyfills/internal/crypto/random.ts
+++ b/ext/node/polyfills/internal/crypto/random.ts
@@ -92,7 +92,7 @@ export function checkPrime(
);
}
- core.opAsync(op, candidate, checks).then(
+ core.opAsync2(op, candidate, checks).then(
(result) => {
callback?.(null, result);
},