Hotfix - change var for const
This commit is contained in:
parent
6f39abb47b
commit
9eb574b6c4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user