diff options
| author | Andrew Chow <[email protected]> | 2019-07-05 18:33:35 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-04-23 13:25:50 -0400 |
| commit | d8132669e10c1db9ae0c2ea0d3f822d7d2f01345 (patch) | |
| tree | 9ef8fd0c9c0b4f164fe997cf909aeb455d51d9a4 | |
| parent | Introduce WalletDescriptor class (diff) | |
| download | discoin-d8132669e10c1db9ae0c2ea0d3f822d7d2f01345.tar.xz discoin-d8132669e10c1db9ae0c2ea0d3f822d7d2f01345.zip | |
Add a lock cs_desc_man for DescriptorScriptPubKeyMan
| -rw-r--r-- | src/wallet/scriptpubkeyman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 24c8af8b4..2cf181792 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; |