*Skip self
This commit is contained in:
parent
4d6f9a81d5
commit
5b2d1a3c7c
|
@ -423,6 +423,10 @@ export default class DHTCache extends EventEmitter {
|
|||
}
|
||||
|
||||
for (const id of online) {
|
||||
if (b4a.equals(b4a.from(id, "hex"), this.id)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const item = this.graph.node.get(id);
|
||||
if (!item?.online) {
|
||||
online.delete(id);
|
||||
|
|
Loading…
Reference in New Issue