diff --git a/src/index.js b/src/index.js index ad7a78281c..c1a5073a4f 100644 --- a/src/index.js +++ b/src/index.js @@ -166,6 +166,7 @@ class Libp2p extends EventEmitter { if (this._modules.dht) { const DHT = this._modules.dht this._dht = new DHT({ + libp2p: this, dialer: this.dialer, peerId: this.peerId, peerStore: this.peerStore,