fixed #483, thanks to @gurglespuge for reporting it and proposing fix

This commit is contained in:
cryptozoidberg 2025-07-01 23:37:53 +04:00
parent 430d31ba5e
commit 6a4d6e1fc6
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D
2 changed files with 3 additions and 3 deletions

View file

@ -74,8 +74,8 @@ using namespace currency;
DISABLE_VS_WARNINGS(4267)
const command_line::arg_descriptor<uint32_t> arg_db_cache_l1 ( "db-cache-l1", "Specify size of memory mapped db cache file");
const command_line::arg_descriptor<uint32_t> arg_db_cache_l2 ( "db-cache-l2", "Specify cached elements in db helpers");
const command_line::arg_descriptor<uint64_t> arg_db_cache_l1 ( "db-cache-l1", "Specify size of memory mapped db cache file");
const command_line::arg_descriptor<uint64_t> arg_db_cache_l2 ( "db-cache-l2", "Specify cached elements in db helpers");
//------------------------------------------------------------------
blockchain_storage::blockchain_storage(tx_memory_pool& tx_pool) :m_db(nullptr, m_rw_lock),

View file

@ -50,7 +50,7 @@ MARK_AS_POD_C11(macro_alias_1);
#undef LOG_DEFAULT_CHANNEL
#define LOG_DEFAULT_CHANNEL "core"
extern const command_line::arg_descriptor<uint32_t> arg_db_cache_l2;
extern const command_line::arg_descriptor<uint64_t> arg_db_cache_l2;
namespace currency
{