*Fix check
This commit is contained in:
parent
9b2e04ae3c
commit
0a335997bf
|
@ -167,7 +167,7 @@ export default class DHTFlood extends EventEmitter {
|
|||
|
||||
for (const peer of peers) {
|
||||
const conn = this.swarm._allConnections.get(peer);
|
||||
if (conn) {
|
||||
if (!conn) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue