diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2021-02-11 23:46:13 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2021-02-11 23:46:13 +0300 |
commit | e52705969dd429872df9a0d8dabdb396104c54d8 (patch) | |
tree | f0937048d700e1efcb0e87c0268dcf7848083405 /lib | |
parent | e19a830eaafc66d0221ca1666c3e066c3b1849e6 (diff) |
always print "piece verified" debug log in _verifyPieces
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 1 |
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 { |