aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-07-16 13:50:32 -0400
committerAndrew Chow <[email protected]>2020-04-23 13:25:50 -0400
commit78f8a92910d34247fa5d04368338c598d9908267 (patch)
treed357f03efc4736b9ad2adc1f19f19875764b01f5 /src/wallet/scriptpubkeyman.cpp
parentStore WalletDescriptor in DescriptorScriptPubKeyMan (diff)
downloaddiscoin-78f8a92910d34247fa5d04368338c598d9908267.tar.xz
discoin-78f8a92910d34247fa5d04368338c598d9908267.zip
Implement SetType in DescriptorScriptPubKeyMan
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
-rw-r--r--src/wallet/scriptpubkeyman.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp
index ea61ab793..c825438f9 100644
--- a/src/wallet/scriptpubkeyman.cpp
+++ b/src/wallet/scriptpubkeyman.cpp
@@ -1608,4 +1608,8 @@ uint256 DescriptorScriptPubKeyMan::GetID() const
return uint256();
}
-void DescriptorScriptPubKeyMan::SetType(OutputType type, bool internal) {}
+void DescriptorScriptPubKeyMan::SetType(OutputType type, bool internal)
+{
+ this->m_address_type = type;
+ this->m_internal = internal;
+}