mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-11 11:15:00 +00:00
fix worker tests
This commit is contained in:
committed by
Mahrud Sayrafi
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);
|
||||
|
||||
Reference in New Issue
Block a user