aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-07-05 18:33:35 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-04-23 13:25:50 -0400
commitd8132669e10c1db9ae0c2ea0d3f822d7d2f01345 (patch)
tree9ef8fd0c9c0b4f164fe997cf909aeb455d51d9a4 /src/wallet/scriptpubkeyman.h
parent3194a7f88ac1a32997b390b4f188c4b6a4af04a5 (diff)
Add a lock cs_desc_man for DescriptorScriptPubKeyMan
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 24c8af8b4e..2cf1817927 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -487,6 +487,8 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
public:
using ScriptPubKeyMan::ScriptPubKeyMan;
+ mutable RecursiveMutex cs_desc_man;
+
bool GetNewDestination(const OutputType type, CTxDestination& dest, std::string& error) override;
isminetype IsMine(const CScript& script) const override;