mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-04-08 11:58:12 +02:00
avoid creating a core wallet if no wallets are open
This commit is contained in:
parent
6e6111b47c
commit
8f63d89be8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user