fix worker tests

This commit is contained in:
Bart Butler 2018-02-21 16:02:19 -08:00 committed by Mahrud Sayrafi
parent a2868a5c14
commit 1b66b9cf60
No known key found for this signature in database
GPG Key ID: C24071B956C3245F

View File

@ -130,6 +130,7 @@ MPI.prototype.fromBN = function (bn) {
};
MPI.fromClone = function (clone) {
clone.data.copy = BN.prototype.copy;
const bn = new BN();
clone.data.copy(bn);
return new MPI(bn);