simply wasm loaded logic
This commit is contained in:
1 parent
d546f63e11
commit
a22454f86f
1 file changed
+1
-1
@@ -31,5 +31,5 @@ module.exports.crypto_generichash_instance = function (key, outlen) {
|
||||
}
|
||||
|
||||
blake2b.ready(function (err) {
|
||||
if (blake2b.WASM_SUPPORTED) module.exports.crypto_generichash_WASM_LOADED = !err
|
||||
module.exports.crypto_generichash_WASM_LOADED = blake2b.WASM_LOADED
|
||||
})
|
||||
Reference in new issue
Block a user