Browse Source

ecdsa/ecpubkey: rectify #364 artifacts

hk-custom-address
Daniel Cousens 10 years ago
parent
commit
8aa4f9ecc9
  1. 3
      src/ecpubkey.js

3
src/ecpubkey.js

@ -9,8 +9,9 @@ var ecurve = require('ecurve')
var secp256k1 = ecurve.getCurveByName('secp256k1')
function ECPubKey (Q, compressed) {
if (compressed === undefined)
if (compressed === undefined) {
compressed = true
}
typeForce('Point', Q)
typeForce('Boolean', compressed)

Loading…
Cancel
Save