Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/download-private-dht.js')
-rw-r--r--test/node/download-private-dht.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/download-private-dht.js b/test/node/download-private-dht.js
index 023f7ff..0f1a984 100644
--- a/test/node/download-private-dht.js
+++ b/test/node/download-private-dht.js
@@ -35,7 +35,7 @@ test('private torrent should not use DHT', function (t) {
})
client.on('torrent', function () {
- if (!torrent.discovery.dht && !torrent.swarm.handshakeOpts.dht) {
+ if (!torrent.discovery.dht) {
t.pass('dht is disabled for this torrent')
cb(null)
}