diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2018-08-31 08:11:01 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-08-31 08:11:01 -0400 |
commit | 62b6f0f21e24ff367d096c80ebdf398de4a98163 (patch) | |
tree | d14dbaefecf3a9cd8a0f17f591d440947daaf777 /src/wallet/wallet.h | |
parent | 545e85eccc2441c6d7745bb90d88dc14718455a2 (diff) |
Add EXCLUSIVE_LOCKS_REQUIRED to CWallet::ListCoins
Suggested by MarcoFalke <falke.marco@gmail.com> in
https://github.com/bitcoin/bitcoin/pull/10605#issuecomment-417643535
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index b85f374a06..c8d5e6a781 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -821,7 +821,7 @@ public: /** * Return list of available coins and locked coins grouped by non-change output address. */ - std::map<CTxDestination, std::vector<COutput>> ListCoins() const; + std::map<CTxDestination, std::vector<COutput>> ListCoins() const EXCLUSIVE_LOCKS_REQUIRED(cs_main, cs_wallet); /** * Find non-change parent output. |