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

fix: correct dht reference in ipns routing #2996

Merged
merged 2 commits into from
Apr 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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