1
0
Fork 0
forked from lthn/blockchain

added mutable to variable

This commit is contained in:
cryptozoidberg 2023-11-21 18:04:51 +01:00
parent c33cfd29b7
commit 1277818b23
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -138,7 +138,7 @@ namespace tools
std::unordered_map<crypto::hash, crypto::secret_key> m_tx_keys;
std::unordered_map<crypto::public_key, wallet_own_asset_context> m_own_asset_descriptors;
std::unordered_map<crypto::public_key, currency::asset_descriptor_base> m_custom_assets; //assets that manually added by user
std::unordered_map<crypto::public_key, currency::asset_descriptor_base> m_whitelisted_assets; //assets that whitelisted
mutable std::unordered_map<crypto::public_key, currency::asset_descriptor_base> m_whitelisted_assets; //assets that whitelisted
escrow_contracts_container m_contracts;
std::multimap<uint64_t, htlc_expiration_trigger> m_htlcs; //map [expired_if_more_then] -> height of expiration
amount_gindex_to_transfer_id_container m_active_htlcs; // map [amount; gindex] -> transfer index