Hotfix - change var for const

This commit is contained in:
BafS 2018-02-13 23:46:44 +01:00
parent 6f39abb47b
commit 9eb574b6c4

View File

@ -195,7 +195,7 @@ PublicKey.prototype.getFingerprint = function () {
* @return {Promise<Object} An object of the form {algorithm: String, bits:int, curve:String}
*/
PublicKey.prototype.getAlgorithmInfo = function () {
var result = {};
const result = {};
result.algorithm = this.algorithm;
if (this.params[0] instanceof type_mpi) {
result.bits = this.params[0].byteLength() * 8;