From 20e5f74ab2caa56cec3fb0ba3b09ef36beb22e05 Mon Sep 17 00:00:00 2001
From: sneurlax <sneurlax@gmail.com>
Date: Mon, 11 Sep 2023 18:23:53 -0500
Subject: [PATCH] Revert "do not use Majestic Bank-supplied onion service
 address for MB API"

This reverts commit 090262017a59a078158cb5eac165555e71472549.
---
 .../exchange/majestic_bank/majestic_bank_api.dart        | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lib/services/exchange/majestic_bank/majestic_bank_api.dart b/lib/services/exchange/majestic_bank/majestic_bank_api.dart
index 4a23597a5..d32209ae5 100644
--- a/lib/services/exchange/majestic_bank/majestic_bank_api.dart
+++ b/lib/services/exchange/majestic_bank/majestic_bank_api.dart
@@ -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;