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

Commit da01b87

Browse files
committed
fix: fix bug in ipns republish
1 parent 6c2ccef commit da01b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ipfs/src/core/ipns/republisher.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class IpnsRepublisher {
110110
try {
111111
const keys = await this._keychain.listKeys()
112112

113-
for (const key in keys) {
113+
for (const key of keys) {
114114
const pem = await this._keychain.exportKey(key.name, pass)
115115
const privKey = await crypto.keys.import(pem, pass)
116116

0 commit comments

Comments
 (0)