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 5b9da4a commit 695ade5Copy full SHA for 695ade5
lib/server/swarm.js
@@ -73,7 +73,7 @@ Swarm.prototype._onAnnounceStarted = function (params, peer, id) {
73
74
if (params.left === 0) this.complete += 1
75
else this.incomplete += 1
76
- peer = this.peers.set(id, {
+ this.peers.set(id, {
77
type: params.type,
78
complete: params.left === 0,
79
peerId: params.peer_id, // as hex
0 commit comments