From edcc8338f22afebcfd5a5f226c83c09081b2b840 Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Thu, 27 Feb 2020 11:37:20 +0100 Subject: [PATCH] Remove unused uid in fee provider service Bisq frequently (once per minute) queries our price nodes for up-to-date fee information. It does so by HTTP GET request. However, it provided a UID via the "User-Agent" HTTP header field. This UID has been a random number which changed everytime Bisq gets started up. This UID has never been used. Thus, remove it. --- core/src/main/java/bisq/core/provider/fee/FeeProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/provider/fee/FeeProvider.java b/core/src/main/java/bisq/core/provider/fee/FeeProvider.java index 4cef04ab99f..3fe55c7f74e 100644 --- a/core/src/main/java/bisq/core/provider/fee/FeeProvider.java +++ b/core/src/main/java/bisq/core/provider/fee/FeeProvider.java @@ -45,7 +45,7 @@ public FeeProvider(PriceNodeHttpClient httpClient, ProvidersRepository providers } public Tuple2, Map> getFees() throws IOException { - String json = httpClient.requestWithGET("getFees", "User-Agent", "bisq/" + Version.VERSION + ", uid:" + httpClient.getUid()); + String json = httpClient.requestWithGET("getFees", "User-Agent", "bisq/" + Version.VERSION); LinkedTreeMap linkedTreeMap = new Gson().fromJson(json, LinkedTreeMap.class); Map tsMap = new HashMap<>();