missing brackets

This commit is contained in:
Sanjana Rajan 2018-03-05 17:49:09 +01:00
parent 2077d8487f
commit 3df1d849b3

View File

@ -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;