rpc: get_info - add 'synchronized' field

This commit is contained in:
xiphon 2020-11-19 12:51:31 +00:00 committed by wowario
parent b042506baa
commit 10f9008b9c
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -500,6 +500,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.synchronized = check_core_ready();
res.status = CORE_RPC_STATUS_OK;
return true;