pool: fix this.options.discover
This commit is contained in:
parent
127fea663f
commit
3c1fda4826
@ -462,7 +462,7 @@ class Pool extends EventEmitter {
|
||||
*/
|
||||
|
||||
async discoverSeeds(checkPeers) {
|
||||
if (!this.discover)
|
||||
if (!this.options.discover)
|
||||
return;
|
||||
|
||||
if (this.hosts.dnsSeeds.length === 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user