Fix ECKey.verify
This commit is contained in:
parent
00e9842bc7
commit
29ebd4edc5
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ ECKey.prototype.sign = function (hash) {
|
||||||
};
|
};
|
||||||
|
|
||||||
ECKey.prototype.verify = function (hash, sig) {
|
ECKey.prototype.verify = function (hash, sig) {
|
||||||
return ecdsa.verify(hash, sig, this.getPub());
|
return ecdsa.verify(hash, sig, this.getPub()['export']('bytes'));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue