From b4b09fd2bb7db514768df45cef0b8bbaf09090cc Mon Sep 17 00:00:00 2001 From: luochuan Date: Fri, 24 Nov 2023 16:50:14 +0800 Subject: [PATCH] =?UTF-8?q?:feat:=20=E4=BA=A4=E6=98=93=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/alis/blackchain/service/OkxExchangeAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java b/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java index 73fe8b0..e94c450 100644 --- a/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java +++ b/src/main/java/org/alis/blackchain/service/OkxExchangeAdapter.java @@ -92,7 +92,7 @@ public class OkxExchangeAdapter implements Exchange { request.header("OK-ACCESS-TIMESTAMP", timestamp); request.header("OK-ACCESS-PASSPHRASE", PASSPHRASE); config.setConnectionTimeout(30 * 1000); - Proxy localhost = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.01", 1087)); + Proxy localhost = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.0.1", 1087)); config.setProxy(localhost); request.setConfig(config); request.body(body);