mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Merge pull request #4112 from freimair/input_parsing
Add parsing to pricenode cmdline inputs
This commit is contained in:
commit
0a22f46ca4
@ -122,6 +122,8 @@ public class ProvidersRepository {
|
||||
!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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user