diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-26 08:05:43 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-27 19:52:33 +0000 |
commit | 3c849188abcefff9c71c3c569353a965c4e466f2 (patch) | |
tree | 46da52995f8a1a1da75de94d8e0299dfd685e42f | |
parent | Merge pull request #6174 (diff) | |
download | monero-3c849188abcefff9c71c3c569353a965c4e466f2.tar.xz |
rpc: always set the update field in update on sucess
Coverity 205416
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |