rpc: Include tag in get_info version string

This commit is contained in:
Nathan Dorfman 2019-10-24 13:48:35 -06:00
parent 4233d88341
commit 57346864a3

View file

@ -322,7 +322,7 @@ namespace cryptonote
if (restricted) if (restricted)
res.database_size = round_up(res.database_size, 5ull* 1024 * 1024 * 1024); res.database_size = round_up(res.database_size, 5ull* 1024 * 1024 * 1024);
res.update_available = restricted ? false : m_core.is_update_available(); res.update_available = restricted ? false : m_core.is_update_available();
res.version = restricted ? "" : MONERO_VERSION; res.version = restricted ? "" : MONERO_VERSION_FULL;
res.status = CORE_RPC_STATUS_OK; res.status = CORE_RPC_STATUS_OK;
return true; return true;