Browse Source

Fix typo in ECDSA.verify.

hk-custom-address
Stefan Thomas 13 years ago
parent
commit
e90780d3d3
  1. 2
      src/ecdsa.js

2
src/ecdsa.js

@ -248,7 +248,7 @@ Bitcoin.ECDSA = (function () {
verify: function (hash, sig, pubkey) {
var r,s;
if (Bitcoin.Util.isArray(sig)) {
var obj = stringECDSA.parseSig(sig);
var obj = ECDSA.parseSig(sig);
r = obj.r;
s = obj.s;
} else if ("object" === typeof sig && sig.r && sig.s) {

Loading…
Cancel
Save