diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -857,7 +857,8 @@ * 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.