From 78f8a92910d34247fa5d04368338c598d9908267 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 16 Jul 2019 13:50:32 -0400 Subject: Implement SetType in DescriptorScriptPubKeyMan --- src/wallet/scriptpubkeyman.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/wallet/scriptpubkeyman.cpp') 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; +} -- cgit v1.2.3