Browse Source

use discKey not drive.discKey

Kieran Gibb 2 years ago
parent
commit
cf71f7f2e3
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/discovery-swarm.js

+ 1
- 1
lib/discovery-swarm.js View File

@@ -33,7 +33,7 @@ module.exports = function (group, opts) {
33 33
     group._removeConnection(peer, () => {})
34 34
   })
35 35
 
36
-  swarm.join(group.drive.discoveryKey, { lookup: true, announce: true })
36
+  swarm.join(group.discoveryKey, { lookup: true, announce: true })
37 37
 
38 38
   return swarm
39 39
 }