workers: fix ecsign.
This commit is contained in:
parent
cb5fa84042
commit
89160bdfa8
@ -392,7 +392,7 @@ WorkerPool.prototype.ecVerify = co(function* ecVerify(msg, sig, key) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
WorkerPool.prototype.ecSign = co(function* ecSign(msg, key) {
|
WorkerPool.prototype.ecSign = co(function* ecSign(msg, key) {
|
||||||
var packet = new packets.SignPacket(msg, key);
|
var packet = new packets.ECSignPacket(msg, key);
|
||||||
var result = yield this.execute(packet, -1);
|
var result = yield this.execute(packet, -1);
|
||||||
return result.sig;
|
return result.sig;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user