Fix typo in ECDSA.verify.
This commit is contained in:
parent
83742a3f5a
commit
e90780d3d3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue