Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Require secp256k1 bindings directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Braydon Fuller committed Sep 15, 2016
1 parent 884945c commit 6bf2b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crypto/ecdsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var $ = require('../util/preconditions');

var secp256k1 = null;
try {
secp256k1 = require('secp' + '256k1');
secp256k1 = require('secp256k1/bindings');
} catch (er) {
console.warn('Unable to load native secp256k1 bindings');
}
Expand Down

0 comments on commit 6bf2b6d

Please sign in to comment.