same for wallet

This commit is contained in:
callebtc
2022-10-30 18:04:12 +01:00
parent 2587abcd79
commit fec209eb34

View File

@@ -64,7 +64,7 @@ class LedgerAPI:
s = requests.Session() s = requests.Session()
s.headers.update({"Client-version": VERSION}) s.headers.update({"Client-version": VERSION})
socks_host, socks_port = None, None socks_host, socks_port = None, None
if TOR and TorProxy().check_platform(): if TOR and TorProxy(dont_start=True).check_platform():
self.tor = TorProxy(keep_alive=True) self.tor = TorProxy(keep_alive=True)
self.tor.wait_until_startup(verbose=True) self.tor.wait_until_startup(verbose=True)
socks_host, socks_port = "localhost", 9050 socks_host, socks_port = "localhost", 9050