From 84be0da7689745cb9189fc15bb3860579990de6d Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Thu, 2 Apr 2020 11:08:17 +0200 Subject: [PATCH] Add parsing to pricenode cmdline inputs --- core/src/main/java/bisq/core/provider/ProvidersRepository.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/bisq/core/provider/ProvidersRepository.java b/core/src/main/java/bisq/core/provider/ProvidersRepository.java index 421f740b8fb..ff0cf31fd52 100644 --- a/core/src/main/java/bisq/core/provider/ProvidersRepository.java +++ b/core/src/main/java/bisq/core/provider/ProvidersRepository.java @@ -122,6 +122,8 @@ private void fillProviderList() { !bannedNodes.contains(e.replace("http://", "") .replace("/", "") .replace(".onion", ""))) + .map(e -> e.endsWith("/") ? e : e + "/") + .map(e -> e.startsWith("http") ? e : "http://" + e) .collect(Collectors.toList()); } }