We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e782ff3 commit 3ec7aacCopy full SHA for 3ec7aac
client.js
@@ -51,7 +51,7 @@ function Client (opts) {
51
self._peerIdBinary = self._peerIdBuffer.toString('binary')
52
53
self.infoHash = typeof opts.infoHash === 'string'
54
- ? opts.infoHash
+ ? opts.infoHash.toLowerCase()
55
: opts.infoHash.toString('hex')
56
self._infoHashBuffer = Buffer.from(self.infoHash, 'hex')
57
self._infoHashBinary = self._infoHashBuffer.toString('binary')
0 commit comments