diff options
author | Kaylee <34007889+KayleePop@users.noreply.github.com> | 2018-05-18 23:48:40 +0300 |
---|---|---|
committer | KayleePop <34007889+KayleePop@users.noreply.github.com> | 2018-08-29 21:17:52 +0300 |
commit | 5883e59167474b6572cf53095f31778d70f24075 (patch) | |
tree | 9caf0e82b2b7fa8a7ccf9f49542a8c868395225b /index.js | |
parent | c49ae22d52417e976533e364fbf98ce8c41df384 (diff) |
Don't verify files in client.seed()
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |