diff --git a/xchange-gateio-v4/src/main/java/org/knowm/xchange/gateio/service/GateioBaseService.java b/xchange-gateio-v4/src/main/java/org/knowm/xchange/gateio/service/GateioBaseService.java index ec3c397aa85..9be973588ef 100644 --- a/xchange-gateio-v4/src/main/java/org/knowm/xchange/gateio/service/GateioBaseService.java +++ b/xchange-gateio-v4/src/main/java/org/knowm/xchange/gateio/service/GateioBaseService.java @@ -33,6 +33,7 @@ public GateioBaseService(GateioExchange exchange) { gateioV4Authenticated = ExchangeRestProxyBuilder .forInterface(GateioV4Authenticated.class, exchange.getExchangeSpecification()) .clientConfigCustomizer(clientConfig -> clientConfig.setJacksonObjectMapperFactory(new GateioJacksonObjectMapperFactory())) + .restProxyFactory(Config.getInstance().getRestProxyFactoryClass().getDeclaredConstructor().newInstance()) .build(); gateioV4ParamsDigest =