Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: fix bug in ipns republish
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Apr 28, 2020
1 parent e7dca4f commit 0dd8a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ipfs/src/core/ipns/republisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0dd8a13

Please sign in to comment.