mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
avoid creating a core wallet if no wallets are open
This commit is contained in:
@@ -120,7 +120,7 @@ public class Bwt {
|
||||
if(config.getCoreMultiWallet() != Boolean.FALSE) {
|
||||
bwtConfig.bitcoindWallet = config.getCoreWallet();
|
||||
}
|
||||
bwtConfig.createWalletIfMissing = true;
|
||||
bwtConfig.createWalletIfMissing = !outputDescriptors.isEmpty();
|
||||
|
||||
Gson gson = new Gson();
|
||||
String jsonConfig = gson.toJson(bwtConfig);
|
||||
|
||||
Reference in New Issue
Block a user