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:
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.js b/index.js
index 887c473..3b5e6f7 100644
--- a/index.js
+++ b/index.js
@@ -257,6 +257,9 @@ class WebTorrent extends EventEmitter {
this._debug('seed')
opts = opts ? Object.assign({}, opts) : {}
+ // no need to verify the hashes we create
+ opts.skipVerify = true
+
const isFilePath = typeof input === 'string'
// When seeding from fs path, initialize store from that path to avoid a copy