From d8132669e10c1db9ae0c2ea0d3f822d7d2f01345 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 5 Jul 2019 18:33:35 -0400 Subject: [PATCH] Add a lock cs_desc_man for DescriptorScriptPubKeyMan --- src/wallet/scriptpubkeyman.h | 2 ++ 1 file changed, 2 insertions(+) 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;