diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-31 09:03:00 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-31 09:03:05 -0400 |
commit | b012bbe358311cc4a73300ccca41b64272250277 (patch) | |
tree | d62323f46fa892e09303d7c4069ae92296e576d8 /src/wallet/wallet.h | |
parent | 709a15b0a6f8ca421b6bb1fcb31c58fd7d7e3b68 (diff) | |
parent | 62b6f0f21e24ff367d096c80ebdf398de4a98163 (diff) | |
download | bitcoin-b012bbe358311cc4a73300ccca41b64272250277.tar.xz |
Merge #10605: Add AssertLockHeld assertions in CWallet::ListCoins
62b6f0f21e Add EXCLUSIVE_LOCKS_REQUIRED to CWallet::ListCoins (Russell Yanofsky)
545e85eccc Add AssertLockHeld assertions in CWallet::ListCoins (Russell Yanofsky)
Pull request description:
Fixes TODO from #10295
Tree-SHA512: 2dd03a8217e5e1313aa2119cb530e0c0daf3ae3a751b6fdec611df57b8090201a90b52ff05f8f696e978a1344aaf21989d67a03beb5ef6ef79b77be38d04b451
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 05ae9a1bbf..da326517c0 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -764,7 +764,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. |