From 1bab07fc5f8c7bf73939c9a56089b42a0daed93b Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 11 Mar 2021 10:37:30 +0200 Subject: [PATCH] dont allow duplicate loading wallet references --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index f7e1b4eb..f7108056 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -120,7 +120,7 @@ public class AppController implements Initializable { private Timeline statusTimeline; - private final List loadingWallets = new ArrayList<>(); + private final Set loadingWallets = new LinkedHashSet<>(); @Override public void initialize(URL location, ResourceBundle resources) {