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
diff options
context:
space:
mode:
-rw-r--r--lib/file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.js b/lib/file.js
index 23a6576..2715fbb 100644
--- a/lib/file.js
+++ b/lib/file.js
@@ -38,7 +38,7 @@ class File extends EventEmitter {
if (!this._torrent.bitfield) return 0
const { pieces, bitfield, pieceLength } = this._torrent
- const { _startPiece:start, _endPiece:end } = this
+ const { _startPiece: start, _endPiece: end } = this
const piece = pieces[start]
// Calculate first piece diffrently, it sometimes have a offset