From 5883e59167474b6572cf53095f31778d70f24075 Mon Sep 17 00:00:00 2001 From: Kaylee <34007889+KayleePop@users.noreply.github.com> Date: Fri, 18 May 2018 15:48:40 -0500 Subject: Don't verify files in client.seed() --- index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.js') 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 -- cgit v1.2.3