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 4b5299b commit a22da27Copy full SHA for a22da27
README.md
@@ -142,8 +142,8 @@ client.on('update', function (data) {
142
console.log('number of leechers in the swarm: ' + data.incomplete)
143
})
144
145
-client.once('peer', function (addr) {
146
- console.log('found a peer: ' + addr) // 85.10.239.191:48623
+client.once('peer', function (peer) {
+ console.log('found a peer: ' + peer) // object
147
148
149
// announce that download has completed (and you are now a seeder)
0 commit comments