Fix ECKey.verify

This commit is contained in:
Andreas Brekken 2014-01-11 14:26:12 +07:00
parent 00e9842bc7
commit 29ebd4edc5

View file

@ -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'));
};
/**