File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1825,6 +1825,12 @@ isminetype DescriptorScriptPubKeyMan::IsMine(const CScript& script) const
18251825 return ISMINE_NO;
18261826}
18271827
1828+ isminetype DescriptorScriptPubKeyMan::IsMine (const CTxDestination& dest) const
1829+ {
1830+ CScript script = GetScriptForDestination (dest);
1831+ return IsMine (script);
1832+ }
1833+
18281834bool DescriptorScriptPubKeyMan::CheckDecryptionKey (const CKeyingMaterial& master_key, bool accept_no_keys)
18291835{
18301836 LOCK (cs_desc_man);
Original file line number Diff line number Diff line change @@ -544,6 +544,7 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
544544
545545 bool GetNewDestination (CTxDestination& dest, bilingual_str& error) override ;
546546 isminetype IsMine (const CScript& script) const override ;
547+ isminetype IsMine (const CTxDestination& dest) const override ;
547548
548549 bool CheckDecryptionKey (const CKeyingMaterial& master_key, bool accept_no_keys = false ) override ;
549550 bool Encrypt (const CKeyingMaterial& master_key, WalletBatch* batch) override ;
You can’t perform that action at this time.
0 commit comments