mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
avoid creating a core wallet if no wallets are open
This commit is contained in:
parent
6e6111b47c
commit
8f63d89be8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class Bwt {
|
||||||
if(config.getCoreMultiWallet() != Boolean.FALSE) {
|
if(config.getCoreMultiWallet() != Boolean.FALSE) {
|
||||||
bwtConfig.bitcoindWallet = config.getCoreWallet();
|
bwtConfig.bitcoindWallet = config.getCoreWallet();
|
||||||
}
|
}
|
||||||
bwtConfig.createWalletIfMissing = true;
|
bwtConfig.createWalletIfMissing = !outputDescriptors.isEmpty();
|
||||||
|
|
||||||
Gson gson = new Gson();
|
Gson gson = new Gson();
|
||||||
String jsonConfig = gson.toJson(bwtConfig);
|
String jsonConfig = gson.toJson(bwtConfig);
|
||||||
|
|
Loading…
Reference in a new issue