missing brackets
This commit is contained in:
parent
2077d8487f
commit
3df1d849b3
|
@ -62,7 +62,7 @@ KDFParams.prototype.write = function () {
|
|||
};
|
||||
|
||||
KDFParams.fromClone = function (clone) {
|
||||
return new KDFParams(clone.hash, clone.cipher);
|
||||
return new KDFParams([clone.hash, clone.cipher]);
|
||||
};
|
||||
|
||||
export default KDFParams;
|
||||
|
|
Loading…
Reference in New Issue
Block a user