diff --git a/src/ecdsa.js b/src/ecdsa.js index dfb05d1..a2497bf 100644 --- a/src/ecdsa.js +++ b/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) {