Adjust init message with possible fixes (#103)

This commit is contained in:
Jaco Greeff
2020-08-19 15:49:06 +02:00
committed by GitHub
parent c140ac97e5
commit 037d857085
+1 -1
View File
@@ -6,7 +6,7 @@
const { assert } = require('@polkadot/util');
const INIT_ERRROR = '@polkadot/wasm-crypto has not been initialized';
const INIT_ERRROR = 'The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.';
module.exports = function (stubbed) {
const wrapReady = (fn) =>