Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
fix: Tor starts automatically if stub testnet provider is null
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Jun 12, 2024
1 parent 819fa63 commit 31ef345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ if (gotTheLock) {

// Don't spawn Tor if we have a stub testnet provider
// It's most likely gonna be a local one and we cannot build Tor circuits to it
if (getStubTestnetProvider() != null) {
if (getStubTestnetProvider() == null) {
await spawnTor();
}

Expand Down

0 comments on commit 31ef345

Please sign in to comment.