From 119d00233dda00709081ec260f1de4ec74a1c0c9 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 25 Nov 2024 16:34:17 +0200 Subject: [PATCH] fix cast to http proxy supplier --- build.gradle | 2 +- .../java/com/sparrowwallet/sparrow/net/HttpProxySupplier.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 3cd4937a..efb9af2f 100644 --- a/build.gradle +++ b/build.gradle @@ -122,7 +122,7 @@ dependencies { exclude group: 'org.slf4j' } implementation('com.sparrowwallet.bokmakierie:bokmakierie:1.0') - implementation('com.sparrowwallet:tern:1.0.2') + implementation('com.sparrowwallet:tern:1.0.3') implementation('io.reactivex.rxjava2:rxjava:2.2.15') implementation('io.reactivex.rxjava2:rxjavafx:2.2.2') implementation('org.apache.commons:commons-lang3:3.7') diff --git a/src/main/java/com/sparrowwallet/sparrow/net/HttpProxySupplier.java b/src/main/java/com/sparrowwallet/sparrow/net/HttpProxySupplier.java index 1aa59770..c0c62050 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/HttpProxySupplier.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/HttpProxySupplier.java @@ -1,8 +1,9 @@ package com.sparrowwallet.sparrow.net; import com.google.common.net.HostAndPort; +import com.sparrowwallet.tern.http.client.TorHttpProxySupplier; -public class HttpProxySupplier extends com.sparrowwallet.tern.http.client.HttpProxySupplier { +public class HttpProxySupplier extends TorHttpProxySupplier { public HttpProxySupplier(HostAndPort torProxy) { super(torProxy); }