mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
refactor: reduce #ifdef ENABLE_EXTERNAL_SIGNER usage
In particular this make the node interface independent on whether external signer support is compiled.
This commit is contained in:
@@ -112,7 +112,6 @@ CreateWalletDialog::~CreateWalletDialog()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_EXTERNAL_SIGNER
|
||||
void CreateWalletDialog::setSigners(std::vector<ExternalSigner>& signers)
|
||||
{
|
||||
if (!signers.empty()) {
|
||||
@@ -132,7 +131,6 @@ void CreateWalletDialog::setSigners(std::vector<ExternalSigner>& signers)
|
||||
ui->external_signer_checkbox->setEnabled(false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
QString CreateWalletDialog::walletName() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user