trac-peer 0.1.46 → 0.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -700,7 +700,7 @@ export class Peer extends ReadyResource {
|
|
|
700
700
|
secretKey: b4a.from(this.wallet.secretKey, 'hex')
|
|
701
701
|
};
|
|
702
702
|
|
|
703
|
-
this.swarm = new Hyperswarm({ keyPair,
|
|
703
|
+
this.swarm = new Hyperswarm({ keyPair, bootstrap: this.dhtBootstrap });
|
|
704
704
|
this.dhtNode = this.swarm.dht;
|
|
705
705
|
|
|
706
706
|
console.log(`Writer key: ${this.writerLocalKey}`)
|