hypercore 10.24.7 → 10.24.8
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/lib/replicator.js +1 -1
- package/package.json +1 -1
package/lib/replicator.js
CHANGED
|
@@ -1094,7 +1094,7 @@ module.exports = class Replicator {
|
|
|
1094
1094
|
for (const protomux of this._attached) {
|
|
1095
1095
|
if (!protomux.stream.handshakeHash) continue
|
|
1096
1096
|
if (protomux.opened({ protocol: 'hypercore/alpha', id: this.discoveryKey })) continue
|
|
1097
|
-
this._makePeer(protomux, session && session.session())
|
|
1097
|
+
this._makePeer(protomux, session && session.session({ active: false }))
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|