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

Commit

Permalink
fix: correct dht reference in ipns routing
Browse files Browse the repository at this point in the history
interface was updated here libp2p/js-libp2p#480
  • Loading branch information
kumavis authored Apr 22, 2020
1 parent 553a65b commit 44333e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ipfs/src/core/ipns/routing/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = ({ libp2p, repo, peerInfo, options }) => {
const offlineDatastore = new OfflineDatastore(repo)
ipnsStores.push(offlineDatastore)
} else {
ipnsStores.push(libp2p.dht)
ipnsStores.push(libp2p._dht)
}

// Create ipns routing with a set of datastores
Expand Down

0 comments on commit 44333e4

Please sign in to comment.