Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 5d30057..ce5abb8 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -597,7 +597,6 @@ class Torrent extends EventEmitter {
if (this.destroyed) return cb(new Error('torrent is destroyed'))
if (hash === this._hashes[index]) {
- if (!this.pieces[index]) return cb(null)
this._debug('piece verified %s', index)
this._markVerified(index)
} else {