diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-10-06 10:28:26 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-10-06 17:20:54 -0300 |
commit | b442580ed2a6173f0cfb86f265887d783dde3ff8 (patch) | |
tree | c25424deca0c267eda673b3101b2674118a777a0 /src/qt/walletcontroller.cpp | |
parent | 634b68f0dc6b837f774f646188281757c055c78a (diff) |
gui: remove legacy wallet creation
Diffstat (limited to 'src/qt/walletcontroller.cpp')
-rw-r--r-- | src/qt/walletcontroller.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp index ca2fa2d672..b1ef489cc3 100644 --- a/src/qt/walletcontroller.cpp +++ b/src/qt/walletcontroller.cpp @@ -250,15 +250,14 @@ void CreateWalletActivity::createWallet() std::string name = m_create_wallet_dialog->walletName().toStdString(); uint64_t flags = 0; + // Enable descriptors by default. + flags |= WALLET_FLAG_DESCRIPTORS; if (m_create_wallet_dialog->isDisablePrivateKeysChecked()) { flags |= WALLET_FLAG_DISABLE_PRIVATE_KEYS; } if (m_create_wallet_dialog->isMakeBlankWalletChecked()) { flags |= WALLET_FLAG_BLANK_WALLET; } - if (m_create_wallet_dialog->isDescriptorWalletChecked()) { - flags |= WALLET_FLAG_DESCRIPTORS; - } if (m_create_wallet_dialog->isExternalSignerChecked()) { flags |= WALLET_FLAG_EXTERNAL_SIGNER; } |