aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/external_signer_scriptpubkeyman.h
diff options
context:
space:
mode:
authorS3RK <1466284+S3RK@users.noreply.github.com>2021-06-29 08:29:25 +0200
committerS3RK <1466284+S3RK@users.noreply.github.com>2021-06-30 08:37:50 +0200
commit181181019c5baa3e2d5b675d1843a45aa028781c (patch)
treef673dbc4f7784f9d0a216987f0d60e2b13abc243 /src/wallet/external_signer_scriptpubkeyman.h
parent3f56ef7bef22f0c8c94ad7e401d50b188dae2cbe (diff)
downloadbitcoin-181181019c5baa3e2d5b675d1843a45aa028781c.tar.xz
refactor: remove m_internal from DescriptorSPKman
Descriptor in itself is neither internal or external. It's responsibility of a wallet to assign and manage descriptors for a specific purpose. Duplicating such information could lead to inconsistencies and unexpected behaviour.
Diffstat (limited to 'src/wallet/external_signer_scriptpubkeyman.h')
-rw-r--r--src/wallet/external_signer_scriptpubkeyman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/external_signer_scriptpubkeyman.h b/src/wallet/external_signer_scriptpubkeyman.h
index 8eed947b7b..61df3d0015 100644
--- a/src/wallet/external_signer_scriptpubkeyman.h
+++ b/src/wallet/external_signer_scriptpubkeyman.h
@@ -15,8 +15,8 @@ class ExternalSignerScriptPubKeyMan : public DescriptorScriptPubKeyMan
ExternalSignerScriptPubKeyMan(WalletStorage& storage, WalletDescriptor& descriptor)
: DescriptorScriptPubKeyMan(storage, descriptor)
{}
- ExternalSignerScriptPubKeyMan(WalletStorage& storage, bool internal)
- : DescriptorScriptPubKeyMan(storage, internal)
+ ExternalSignerScriptPubKeyMan(WalletStorage& storage)
+ : DescriptorScriptPubKeyMan(storage)
{}
/** Provide a descriptor at setup time