fix worker tests
This commit is contained in:
parent
a2868a5c14
commit
1b66b9cf60
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user