handle case where user is using torbot

This commit is contained in:
fosse 2024-01-29 11:03:38 -05:00
parent 8f5dbcc117
commit d6faada2a3

View file

@ -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;
}