Fix typo in ECDSA.verify.

This commit is contained in:
Stefan Thomas 2012-08-26 11:24:42 +02:00
parent 83742a3f5a
commit e90780d3d3

View file

@ -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) {