From 3c849188abcefff9c71c3c569353a965c4e466f2 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 26 Oct 2019 08:05:43 +0000 Subject: [PATCH] rpc: always set the update field in update on sucess Coverity 205416 --- src/rpc/core_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 9117b5b3a..dbacd489d 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -2617,6 +2617,7 @@ namespace cryptonote { RPC_TRACKER(update); + res.update = false; if (m_core.offline()) { res.status = "Daemon is running offline";