*If we need to wait for the connection, join the peer
This commit is contained in:
parent
2f9a0c7356
commit
1c37f7809c
|
@ -37,5 +37,7 @@ export async function getRpcByPeer(peer: Buffer | string) {
|
|||
|
||||
resolve(peer[RPC_PROTOCOL_SYMBOL]);
|
||||
});
|
||||
|
||||
swarm.joinPeer(peer);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue