rpc: fix hard_fork_info RPC

I had never tested it, obviously
This commit is contained in:
moneromooo-monero
2015-10-26 10:17:48 +00:00
parent 6f5c129c92
commit 06c65cb0ef
3 changed files with 8 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ namespace cryptonote
MAP_JON_RPC_WE("getblock", on_get_block, COMMAND_RPC_GET_BLOCK)
MAP_JON_RPC_WE("get_connections", on_get_connections, COMMAND_RPC_GET_CONNECTIONS)
MAP_JON_RPC_WE("get_info", on_get_info_json, COMMAND_RPC_GET_INFO)
MAP_JON_RPC_WE("hard_fork_info", on_hard_fork_info, COMMAND_RPC_HARD_FORK_INFO)
END_JSON_RPC_MAP()
END_URI_MAP2()