mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
Revert "do not use Majestic Bank-supplied onion service address for MB API"
This reverts commit 090262017a
.
This commit is contained in:
parent
090262017a
commit
20e5f74ab2
1 changed files with 1 additions and 8 deletions
|
@ -47,17 +47,10 @@ class MajesticBankAPI {
|
|||
// final client = this.client ?? http.Client();
|
||||
int code = -1;
|
||||
try {
|
||||
// Use Tor if enabled.
|
||||
//
|
||||
// This section is commented out because Arti does not yet support
|
||||
// onion services by default. Once it does, we can uncomment the
|
||||
// proxyInfo ternary below.
|
||||
//
|
||||
// TODO: enable onion services in Arti and uncomment the snippet below.
|
||||
final response = await client.get(
|
||||
url: uri,
|
||||
proxyInfo:
|
||||
/*Prefs.instance.useTor ? TorService.sharedInstance.proxyInfo :*/ null,
|
||||
Prefs.instance.useTor ? TorService.sharedInstance.proxyInfo : null,
|
||||
);
|
||||
|
||||
code = response.code;
|
||||
|
|
Loading…
Reference in a new issue