fix requiring restart to connect onion nodes

This commit is contained in:
fosse 2024-01-18 12:21:56 -05:00
parent bd3db7faa1
commit 444e6d1887

View file

@ -53,7 +53,8 @@ class WalletLoadingService {
}
final status = torViewModel.torConnectionStatus;
if (status == TorConnectionStatus.connected) {
if (status == TorConnectionStatus.connected || status == TorConnectionStatus.connecting) {
// connect the node to the tor proxy:
await torViewModel.startTor();
}