corestore 6.15.12 → 6.15.13
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/index.js +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -299,6 +299,7 @@ module.exports = class Corestore extends ReadyResource {
|
|
|
299
299
|
if (core.closing) return // extra safety here as ready is a tick after open
|
|
300
300
|
if (hasKeyPair) core.setKeyPair(keyPair)
|
|
301
301
|
this._emitCore('core-open', core)
|
|
302
|
+
if (this.passive) return
|
|
302
303
|
|
|
303
304
|
const ondownloading = () => {
|
|
304
305
|
for (const { stream } of this._replicationStreams) {
|