mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
handle case where user is using torbot
This commit is contained in:
parent
8f5dbcc117
commit
d6faada2a3
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class Node extends HiveObject with Keyable {
|
|||
// we have to be careful here because if Tor.instance.port is called and Tor isn't enabled
|
||||
// we'll create a new tor instance that just eats up memory
|
||||
// we initialize tor in the tor view model first so that this doesn't happen
|
||||
if (!Tor.instance.enabled || Tor.instance.port == -1) {
|
||||
if (Tor.instance.port == -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue