From 256c449e688b5652b67957fad0c4981dbf1279c6 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 7 Feb 2017 13:55:58 -0800 Subject: [PATCH] ec: force secp25k1 bindings only. --- lib/crypto/ec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crypto/ec.js b/lib/crypto/ec.js index f76f15f0..69909aea 100644 --- a/lib/crypto/ec.js +++ b/lib/crypto/ec.js @@ -10,7 +10,7 @@ var secp256k1; if (+process.env.BCOIN_USE_ELLIPTIC !== 1) { try { - secp256k1 = require('secp256k1'); + secp256k1 = require('secp256k1/bindings'); } catch (e) { ; }