Fix ECKey.verify
This commit is contained in:
parent
00e9842bc7
commit
29ebd4edc5
@ -137,7 +137,7 @@ ECKey.prototype.sign = function (hash) {
|
||||
};
|
||||
|
||||
ECKey.prototype.verify = function (hash, sig) {
|
||||
return ecdsa.verify(hash, sig, this.getPub());
|
||||
return ecdsa.verify(hash, sig, this.getPub()['export']('bytes'));
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user