mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
remove redundant check
This commit is contained in:
parent
9965d793bd
commit
8b42b36825
1 changed files with 6 additions and 8 deletions
|
@ -54,14 +54,12 @@ abstract class HTTP {
|
|||
final httpClient = HttpClient();
|
||||
try {
|
||||
if (routeOverTor) {
|
||||
if (routeOverTor) {
|
||||
SocksTCPClient.assignToHttpClient(httpClient, [
|
||||
ProxySettings(
|
||||
InternetAddress.loopbackIPv4,
|
||||
TorService.sharedInstance.port,
|
||||
),
|
||||
]);
|
||||
}
|
||||
SocksTCPClient.assignToHttpClient(httpClient, [
|
||||
ProxySettings(
|
||||
InternetAddress.loopbackIPv4,
|
||||
TorService.sharedInstance.port,
|
||||
),
|
||||
]);
|
||||
}
|
||||
final HttpClientRequest request = await httpClient.postUrl(
|
||||
url,
|
||||
|
|
Loading…
Reference in a new issue