mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +00:00
remove redundant check
This commit is contained in:
parent
9965d793bd
commit
8b42b36825
1 changed files with 6 additions and 8 deletions
|
@ -53,7 +53,6 @@ abstract class HTTP {
|
||||||
}) async {
|
}) async {
|
||||||
final httpClient = HttpClient();
|
final httpClient = HttpClient();
|
||||||
try {
|
try {
|
||||||
if (routeOverTor) {
|
|
||||||
if (routeOverTor) {
|
if (routeOverTor) {
|
||||||
SocksTCPClient.assignToHttpClient(httpClient, [
|
SocksTCPClient.assignToHttpClient(httpClient, [
|
||||||
ProxySettings(
|
ProxySettings(
|
||||||
|
@ -62,7 +61,6 @@ abstract class HTTP {
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
final HttpClientRequest request = await httpClient.postUrl(
|
final HttpClientRequest request = await httpClient.postUrl(
|
||||||
url,
|
url,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue