From bb4421f4033d2c39a6c9ab8ffa8177cef11fdaa9 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Fri, 12 Jul 2019 13:29:18 +0300 Subject: [PATCH] temporary disable jumboMulTo in BN#mulTo --- lib/bn.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bn.js b/lib/bn.js index de47ca6..6064e49 100644 --- a/lib/bn.js +++ b/lib/bn.js @@ -1679,8 +1679,10 @@ } function jumboMulTo (self, num, out) { - var fftm = new FFTM(); - return fftm.mulp(self, num, out); + // Temporary disable, see https://github.com/indutny/bn.js/issues/211 + // var fftm = new FFTM(); + // return fftm.mulp(self, num, out); + return bigMulTo(self, num, out); } BN.prototype.mulTo = function mulTo (num, out) {