From 89160bdfa894f6c14398bd89559d503232f04a76 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 21 Feb 2017 22:33:42 -0800 Subject: [PATCH] workers: fix ecsign. --- lib/workers/workerpool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/workers/workerpool.js b/lib/workers/workerpool.js index dbbcdd85..1ceac2ee 100644 --- a/lib/workers/workerpool.js +++ b/lib/workers/workerpool.js @@ -392,7 +392,7 @@ WorkerPool.prototype.ecVerify = co(function* ecVerify(msg, sig, 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); return result.sig; });