*Update dist

This commit is contained in:
Derrick Hammer 2022-12-17 11:38:31 -05:00
parent c476de47b6
commit 6bf6ea3595
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -293,7 +293,7 @@ class DHTCache extends events_1.default {
continue; continue;
} }
if (!this.connectedTo.has(id)) { if (!this.connectedTo.has(id)) {
this.swarm.joinPeer(id); this.swarm.joinPeer(b4a_1.default.from(id, "hex"));
} }
for (const connection of connectedTo) { for (const connection of connectedTo) {
const peer = b4a_1.default.from(connection); const peer = b4a_1.default.from(connection);