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
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

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