From c33cfd29b7d358b74d8c55da7917ccd18a8842f9 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Tue, 21 Nov 2023 18:01:29 +0100 Subject: [PATCH] added m_whitelisted_assets to serialized state(to hold correct assets balances on open time) - 2 --- src/wallet/wallet2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;