ec: force secp25k1 bindings only.
This commit is contained in:
parent
d56e50e166
commit
256c449e68
@ -10,7 +10,7 @@ var secp256k1;
|
|||||||
|
|
||||||
if (+process.env.BCOIN_USE_ELLIPTIC !== 1) {
|
if (+process.env.BCOIN_USE_ELLIPTIC !== 1) {
|
||||||
try {
|
try {
|
||||||
secp256k1 = require('secp256k1');
|
secp256k1 = require('secp256k1/bindings');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user