From e46e6ad98d6decfab7560ef4c21579d5ceba5ac5 Mon Sep 17 00:00:00 2001 From: Qmstream <51881352+Qmstream@users.noreply.github.com> Date: Mon, 24 Jun 2019 06:06:26 -0300 Subject: [PATCH] fix: ipns reference to libp2p dht config (#2182) --- src/core/ipns/routing/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipns/routing/config.js b/src/core/ipns/routing/config.js index 7faa469258..09f2f3aedd 100644 --- a/src/core/ipns/routing/config.js +++ b/src/core/ipns/routing/config.js @@ -22,7 +22,7 @@ module.exports = (ipfs) => { } // DHT should not be added as routing if we are offline or it is disabled - if (get(ipfs._options, 'offline') || !get(ipfs._options, 'libp2p.dht.enabled', false)) { + if (get(ipfs._options, 'offline') || !get(ipfs._options, 'libp2p.config.dht.enabled', false)) { const offlineDatastore = new OfflineDatastore(ipfs._repo) ipnsStores.push(offlineDatastore) } else {