mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
small fix
This commit is contained in:
parent
92b28ceacb
commit
d383f3e1a6
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ abstract class TorViewModelBase with Store {
|
|||
if (appStore.wallet != null) {
|
||||
final node = _settingsStore.getCurrentNode(appStore.wallet!.type);
|
||||
if (connect && (node.socksProxyAddress?.isEmpty ?? true)) {
|
||||
node.socksProxyAddress = "${InternetAddress.loopbackIPv4.address}:${Tor.instance.port}";
|
||||
node.socksProxyAddress = "${InternetAddress.loopbackIPv4.address}:${torInstance.port}";
|
||||
} else if (!connect) {
|
||||
node.socksProxyAddress = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue