We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6558a1f commit b67aa9cCopy full SHA for b67aa9c
index.js
@@ -927,6 +927,7 @@ module.exports = class Hypercore extends EventEmitter {
927
const activeRequests = (opts && opts.activeRequests) || this.activeRequests
928
929
const req = this.replicator.addBlock(activeRequests, index)
930
+ req.snapshot = index < this.length
931
932
const timeout = opts && opts.timeout !== undefined ? opts.timeout : this.timeout
933
if (timeout) req.context.setTimeout(req, timeout)
0 commit comments