We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731e41b commit ff81669Copy full SHA for ff81669
1 file changed
index.js
@@ -683,7 +683,7 @@ module.exports = class Hypercore extends EventEmitter {
683
} else {
684
if (opts && opts.wait === false) return null
685
if (opts && opts.onwait) opts.onwait(index, this)
686
- else if (this.onwait) this.onwait(index, this)
+ if (this.onwait) this.onwait(index, this)
687
688
const activeRequests = (opts && opts.activeRequests) || this.activeRequests
689
0 commit comments