*Pass id property, not variable
This commit is contained in:
parent
dccdbbd13d
commit
c4321d3026
|
@ -68,7 +68,7 @@ export default class DHTCache extends EventEmitter {
|
||||||
this.addPeerHandler(item);
|
this.addPeerHandler(item);
|
||||||
});
|
});
|
||||||
|
|
||||||
this._ensurePeer(id);
|
this._ensurePeer(this.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
private _cache: Set<string>;
|
private _cache: Set<string>;
|
||||||
|
|
Loading…
Reference in New Issue