Skip to content

Commit 56c423f

Browse files
committed
Fix checking bitfield to use bitfield on replicator
1 parent 2439fb1 commit 56c423f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prefetcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = class Prefetcher {
4646
let end = this.end
4747

4848
while (end < this.endBound && this.missing < this.max) {
49-
end = this.core.core.bitfield.firstUnset(end) + 1
49+
end = this.core.core.replicator.localBitfield.firstUnset(end) + 1
5050
if (end >= this.endBound) break
5151
this.missing++
5252
}

0 commit comments

Comments
 (0)