ec: force secp25k1 bindings only.

This commit is contained in:
Christopher Jeffrey 2017-02-07 13:55:58 -08:00
parent d56e50e166
commit 256c449e68
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -10,7 +10,7 @@ var secp256k1;
if (+process.env.BCOIN_USE_ELLIPTIC !== 1) {
try {
secp256k1 = require('secp256k1');
secp256k1 = require('secp256k1/bindings');
} catch (e) {
;
}