Skip to content

Commit 3efb8d0

Browse files
committed
Merge pull request webtorrent#102 from qgustavor/patch-1
fix wrong property in example
2 parents 774ae20 + d134e98 commit 3efb8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ client.on('scrape', function (data) {
102102
console.log('got a scrape response from tracker: ' + data.announce)
103103
console.log('number of seeders in the swarm: ' + data.complete)
104104
console.log('number of leechers in the swarm: ' + data.incomplete)
105-
console.log('number of total downloads of this torrent: ' + data.incomplete)
105+
console.log('number of total downloads of this torrent: ' + data.downloaded)
106106
})
107107
```
108108

0 commit comments

Comments
 (0)