diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -287,6 +287,8 @@ virtual uint256 GetID() const { return uint256(); } + virtual void SetType(OutputType type, bool internal) {} + /** * Prepends the wallet name in logging output to ease debugging in * multi-wallet use cases @@ -465,6 +467,8 @@ uint256 GetID() const override; + void SetType(OutputType type, bool internal) override; + // Map from Key ID to key metadata. std::map mapKeyMetadata GUARDED_BY(cs_KeyStore); diff --git a/src/wallet/scriptpubkeyman.cpp b/src/wallet/scriptpubkeyman.cpp --- a/src/wallet/scriptpubkeyman.cpp +++ b/src/wallet/scriptpubkeyman.cpp @@ -1515,3 +1515,5 @@ } return set_address; } + +void LegacyScriptPubKeyMan::SetType(OutputType type, bool internal) {}