rpc: add explicit restricted flag to /get_info

This commit is contained in:
tobtoht 2022-02-07 17:11:41 +01:00
parent 9aab19f349
commit 5e201fedc5
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
2 changed files with 4 additions and 1 deletions

View file

@ -534,6 +534,7 @@ namespace cryptonote
res.version = restricted ? "" : MONERO_VERSION_FULL;
res.synchronized = check_core_ready();
res.busy_syncing = m_p2p.get_payload_object().is_busy_syncing();
res.restricted = restricted;
res.status = CORE_RPC_STATUS_OK;
return true;