*Need to convert to buffer
This commit is contained in:
parent
7d5f3719f9
commit
c476de47b6
|
@ -405,7 +405,7 @@ export default class DHTCache extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.connectedTo.has(id)) {
|
if (!this.connectedTo.has(id)) {
|
||||||
this.swarm.joinPeer(id);
|
this.swarm.joinPeer(b4a.from(id, "hex"));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const connection of connectedTo) {
|
for (const connection of connectedTo) {
|
||||||
|
|
Loading…
Reference in New Issue