peer: fix tryAnnounce.
This commit is contained in:
parent
1997864ec2
commit
c7b7678f8a
@ -515,7 +515,7 @@ Peer.prototype.isLoader = function isLoader() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Peer.prototype.tryAnnounce = function tryAnnounce(items) {
|
Peer.prototype.tryAnnounce = function tryAnnounce(items) {
|
||||||
return this.announce().catch(util.nop);
|
return this.announce(items).catch(util.nop);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user