hypercore 10.6.0 → 10.6.1
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -646,7 +646,7 @@ module.exports = class Hypercore extends EventEmitter {
|
|
|
646
646
|
return this._updateSnapshot()
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
const remoteWait = typeof (opts && opts.wait) === 'boolean' ? opts.wait : this.
|
|
649
|
+
const remoteWait = typeof (opts && opts.wait) === 'boolean' ? opts.wait : this.replicator.findingPeers > 0
|
|
650
650
|
|
|
651
651
|
let upgraded = false
|
|
652
652
|
|