Compare commits

..

No commits in common. "6bf6ea3595ec698bffcdd95b2c19353c2b07caf3" and "7d5f3719f9590f84d9707e532ef39e3525ce84ee" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

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

View File

@ -405,7 +405,7 @@ export default class DHTCache extends EventEmitter {
}
if (!this.connectedTo.has(id)) {
this.swarm.joinPeer(b4a.from(id, "hex"));
this.swarm.joinPeer(id);
}
for (const connection of connectedTo) {