Compare commits
2 Commits
7d5f3719f9
...
6bf6ea3595
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 6bf6ea3595 | |
Derrick Hammer | c476de47b6 |
|
@ -293,7 +293,7 @@ class DHTCache extends events_1.default {
|
|||
continue;
|
||||
}
|
||||
if (!this.connectedTo.has(id)) {
|
||||
this.swarm.joinPeer(id);
|
||||
this.swarm.joinPeer(b4a_1.default.from(id, "hex"));
|
||||
}
|
||||
for (const connection of connectedTo) {
|
||||
const peer = b4a_1.default.from(connection);
|
||||
|
|
|
@ -405,7 +405,7 @@ export default class DHTCache extends EventEmitter {
|
|||
}
|
||||
|
||||
if (!this.connectedTo.has(id)) {
|
||||
this.swarm.joinPeer(id);
|
||||
this.swarm.joinPeer(b4a.from(id, "hex"));
|
||||
}
|
||||
|
||||
for (const connection of connectedTo) {
|
||||
|
|
Loading…
Reference in New Issue