diff --git a/lib/prefetcher.js b/lib/prefetcher.js index 555129f..4d2bbb0 100644 --- a/lib/prefetcher.js +++ b/lib/prefetcher.js @@ -46,7 +46,7 @@ module.exports = class Prefetcher { let end = this.end while (end < this.endBound && this.missing < this.max) { - end = this.core.core.bitfield.firstUnset(end) + 1 + end = this.core.core.replicator.localBitfield.firstUnset(end) + 1 if (end >= this.endBound) break this.missing++ }