Merge pull request #6017

5734686 rpc: Include tag in get_info version string (ndorf)
This commit is contained in:
luigi1111 2019-10-25 20:48:04 -05:00
commit ef8b3a15b4
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,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;