mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
rpc: don't include start time if restricted
This commit is contained in:
parent
fad88e18a9
commit
cd647612b0
@ -198,7 +198,7 @@ namespace cryptonote
|
||||
res.block_size_limit = m_core.get_blockchain_storage().get_current_cumulative_blocksize_limit();
|
||||
res.block_size_median = m_core.get_blockchain_storage().get_current_cumulative_blocksize_median();
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
res.start_time = (uint64_t)m_core.get_start_time();
|
||||
res.start_time = m_restricted ? 0 : (uint64_t)m_core.get_start_time();
|
||||
res.free_space = m_restricted ? std::numeric_limits<uint64_t>::max() : m_core.get_free_space();
|
||||
res.offline = m_core.offline();
|
||||
res.bootstrap_daemon_address = m_bootstrap_daemon_address;
|
||||
|
Loading…
Reference in New Issue
Block a user