rpc: always set the update field in update on sucess

Coverity 205416
This commit is contained in:
moneromooo-monero
2019-10-26 08:05:43 +00:00
parent 411f1b0ee3
commit 3c849188ab

View File

@@ -2617,6 +2617,7 @@ namespace cryptonote
{
RPC_TRACKER(update);
res.update = false;
if (m_core.offline())
{
res.status = "Daemon is running offline";