diff --git a/lib/bcoin.js b/lib/bcoin.js index 6b3d766d0..a7eb18e0f 100644 --- a/lib/bcoin.js +++ b/lib/bcoin.js @@ -49,6 +49,7 @@ if (!bcoin.isBrowser) { } } else { bcoin.hash = require('hash.js'); + bcoin.crypto = require('cry' + 'pto'); } bcoin.ecdsa = bcoin.elliptic.ec('secp256k1');