aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-26 10:17:48 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-26 10:17:48 +0000
commit06c65cb0ef5b93c5d78ac3235e9e5f51952db070 (patch)
tree4c56ae6cb23abc1b501d6db5d360e279d2c3c449 /src/rpc/core_rpc_server.cpp
parentrpc: fix a few commands not working as command line (diff)
downloadmonero-06c65cb0ef5b93c5d78ac3235e9e5f51952db070.tar.xz
rpc: fix hard_fork_info RPC
I had never tested it, obviously
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 08005ec72..6cfcec08c 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -889,6 +889,7 @@ namespace cryptonote
res.version = blockchain.get_current_hard_fork_version();
res.enabled = blockchain.get_hard_fork_voting_info(version, res.window, res.votes, res.threshold, res.voting);
res.state = blockchain.get_hard_fork_state();
+ res.status = CORE_RPC_STATUS_OK;
return true;
#else
error_resp.code = CORE_RPC_ERROR_CODE_UNSUPPORTED_RPC;