From f0fafeb2f7a3db32653b57984fdbfb8fd088b98e Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 12 Apr 2023 08:16:43 -0400 Subject: [PATCH] fix provisioning error by using Arrays.asList instead of List.of --- .../main/java/haveno/core/provider/ProvidersRepository.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/provider/ProvidersRepository.java b/core/src/main/java/haveno/core/provider/ProvidersRepository.java index 8e558fa3bd..97e402d9d4 100644 --- a/core/src/main/java/haveno/core/provider/ProvidersRepository.java +++ b/core/src/main/java/haveno/core/provider/ProvidersRepository.java @@ -24,13 +24,15 @@ import lombok.extern.slf4j.Slf4j; import javax.annotation.Nullable; import javax.inject.Named; + +import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; @Slf4j public class ProvidersRepository { - private static final List DEFAULT_NODES = List.of( + private static final List DEFAULT_NODES = Arrays.asList( "http://a66ulzwhhudtqy6k2efnhodj2n6wnc5mnzjs3ocqtf47lwtcuo4wxyqd.onion/" // Haveno );