*If we need to wait for the connection, join the peer

This commit is contained in:
Derrick Hammer 2022-11-28 00:16:25 -05:00
parent 2f9a0c7356
commit 1c37f7809c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -37,5 +37,7 @@ export async function getRpcByPeer(peer: Buffer | string) {
resolve(peer[RPC_PROTOCOL_SYMBOL]); resolve(peer[RPC_PROTOCOL_SYMBOL]);
}); });
swarm.joinPeer(peer);
}); });
} }