From 444e6d18871fca068f8f56e2a7a71cc1fcdb1784 Mon Sep 17 00:00:00 2001 From: fosse Date: Thu, 18 Jan 2024 12:21:56 -0500 Subject: [PATCH] fix requiring restart to connect onion nodes --- lib/core/wallet_loading_service.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/wallet_loading_service.dart b/lib/core/wallet_loading_service.dart index 917186230..e2223de8a 100644 --- a/lib/core/wallet_loading_service.dart +++ b/lib/core/wallet_loading_service.dart @@ -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(); }