connection issue fix
This commit is contained in:
@@ -44,6 +44,7 @@ export function ProtocolProvider(props : ProtocolProviderProps) {
|
||||
deviceName: systemInfo.name,
|
||||
deviceOs: systemInfo.os
|
||||
}
|
||||
protocol.connect();
|
||||
protocol.startHandshakeExchange(publicKey, privateKey, device);
|
||||
protocol.on('connect', () => {
|
||||
protocol.startHandshakeExchange(publicKey, privateKey, device);
|
||||
|
||||
Reference in New Issue
Block a user