We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa23b5b commit 1b9f2b5Copy full SHA for 1b9f2b5
lib/core.js
@@ -150,9 +150,6 @@ module.exports = class Core {
150
await blocks.clear()
151
await bitfield.clear()
152
entries = []
153
- } else if (bitfield.resumed && header.tree.length === 0) {
154
- // If this was an old bitfield, reset it since it loads based on disk size atm (TODO: change that)
155
- await bitfield.clear()
156
}
157
158
// compat from earlier version that do not store contig length
0 commit comments