aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2022-02-07 17:11:41 +0100
committertobtoht <thotbot@protonmail.com>2022-02-07 17:59:22 +0100
commit5e201fedc566399774f8f371a0d97139fc82bc6c (patch)
tree83012a579a50da5d858607eeed80d61ed23224d5 /src/rpc/core_rpc_server.cpp
parentMerge pull request #8135 (diff)
downloadmonero-5e201fedc566399774f8f371a0d97139fc82bc6c.tar.xz
rpc: add explicit restricted flag to /get_info
Diffstat (limited to '')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index e114ea7c6..dbbdfc02a 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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;