From 395e90e2a5410d5df9da5946c0d6a31a9d979236 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 27 Sep 2021 08:14:35 +0200 Subject: [PATCH] undo #181: always create bitcoin core wallet if missing --- src/main/java/com/sparrowwallet/sparrow/net/Bwt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java index edb4b1be..1b82e960 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java @@ -120,7 +120,7 @@ public class Bwt { if(config.getCoreMultiWallet() != Boolean.FALSE) { bwtConfig.bitcoindWallet = config.getCoreWallet(); } - bwtConfig.createWalletIfMissing = !outputDescriptors.isEmpty(); + bwtConfig.createWalletIfMissing = true; Gson gson = new Gson(); String jsonConfig = gson.toJson(bwtConfig);