mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge d2b8c5e123 into merged_master (Bitcoin PR bitcoin-core/gui#764)
This commit is contained in:
commit
f44ce5b1db
6 changed files with 77 additions and 50 deletions
|
|
@ -251,15 +251,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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue