diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index b85f374a0..c8d5e6a78 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> ListCoins() const; + std::map> ListCoins() const EXCLUSIVE_LOCKS_REQUIRED(cs_main, cs_wallet); /** * Find non-change parent output.