hypercore 11.7.0 → 11.7.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/lib/replicator.js +3 -0
- package/package.json +1 -1
package/lib/replicator.js
CHANGED
|
@@ -702,6 +702,7 @@ class Peer {
|
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
block = batch.getBlock(index)
|
|
705
|
+
block.catch(noop)
|
|
705
706
|
}
|
|
706
707
|
|
|
707
708
|
const manifest = (msg.manifest && !this.core.compat) ? this.core.header.manifest : null
|
|
@@ -2676,3 +2677,5 @@ function incrementRx (stats1, stats2) {
|
|
|
2676
2677
|
stats1.rx++
|
|
2677
2678
|
stats2.rx++
|
|
2678
2679
|
}
|
|
2680
|
+
|
|
2681
|
+
function noop () {}
|