From 56c423fd77d60b2d243928d4b493ae39cd63b10d Mon Sep 17 00:00:00 2001 From: Sean Zellmer Date: Fri, 26 Sep 2025 13:21:49 -0500 Subject: [PATCH] Fix checking bitfield to use bitfield on replicator --- lib/prefetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ }