From 0dd8a131c16d20b546d969cfe6430f2d8174da2f Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Tue, 28 Apr 2020 15:14:41 +0100 Subject: [PATCH] fix: fix bug in ipns republish --- packages/ipfs/src/core/ipns/republisher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ipfs/src/core/ipns/republisher.js b/packages/ipfs/src/core/ipns/republisher.js index aa0e579549..2e7fe12af0 100644 --- a/packages/ipfs/src/core/ipns/republisher.js +++ b/packages/ipfs/src/core/ipns/republisher.js @@ -110,7 +110,7 @@ class IpnsRepublisher { try { const keys = await this._keychain.listKeys() - for (const key in keys) { + for (const key of keys) { const pem = await this._keychain.exportKey(key.name, pass) const privKey = await crypto.keys.import(pem, pass)