diff --git a/dist/index.js b/dist/index.js index dc832da..5b95ff2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -47,7 +47,7 @@ class DHTCache extends events_1.default { .forEach((item) => { this.addPeerHandler(item); }); - this._ensurePeer(id); + this._ensurePeer(this.id); } _cache; get cache() {