mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-13 14:25:03 +00:00
fix requiring restart to connect onion nodes
This commit is contained in:
parent
bd3db7faa1
commit
444e6d1887
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue