undo #181: always create bitcoin core wallet if missing

This commit is contained in:
Craig Raw 2021-09-27 08:14:35 +02:00
parent b2657cdcfb
commit 395e90e2a5

View file

@ -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 = !outputDescriptors.isEmpty(); bwtConfig.createWalletIfMissing = true;
Gson gson = new Gson(); Gson gson = new Gson();
String jsonConfig = gson.toJson(bwtConfig); String jsonConfig = gson.toJson(bwtConfig);