Skip to content

Commit b67aa9c

Browse files
committed
do not snap oob gets
1 parent 6558a1f commit b67aa9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,7 @@ module.exports = class Hypercore extends EventEmitter {
927927
const activeRequests = (opts && opts.activeRequests) || this.activeRequests
928928

929929
const req = this.replicator.addBlock(activeRequests, index)
930+
req.snapshot = index < this.length
930931

931932
const timeout = opts && opts.timeout !== undefined ? opts.timeout : this.timeout
932933
if (timeout) req.context.setTimeout(req, timeout)

0 commit comments

Comments
 (0)