mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
initialize block_size_limit_str and block_size_median_str
This commit is contained in:
parent
c103a34eba
commit
bf8b2eb05b
1 changed files with 4 additions and 2 deletions
6
main.cpp
6
main.cpp
|
@ -227,8 +227,10 @@ main(int ac, const char* av[])
|
||||||
xmreg::MempoolStatus::set_blockchain_variables(
|
xmreg::MempoolStatus::set_blockchain_variables(
|
||||||
&mcore, core_storage);
|
&mcore, core_storage);
|
||||||
|
|
||||||
strcpy(xmreg::MempoolStatus::current_network_info.block_size_limit_str, "0.0");
|
xmreg::MempoolStatus::network_info initial_info;
|
||||||
strcpy(xmreg::MempoolStatus::current_network_info.block_size_median_str, "0.0");
|
strcpy(initial_info.block_size_limit_str, "0.0");
|
||||||
|
strcpy(initial_info.block_size_median_str, "0.0");
|
||||||
|
xmreg::MempoolStatus::current_network_info = initial_info;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue