diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 8c2295fa..56ae0658 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -877,7 +877,7 @@ private: uint64_t m_upper_transaction_size_limit; //TODO: auto-calc this value or request from daemon, now use some fixed value std::atomic m_stop; - std::atomic whitelist_updated = false; + mutable std::atomic m_whitelist_updated = false; std::shared_ptr m_core_proxy; std::shared_ptr m_wcallback;