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; });