Fix blockchain info RPC

Forgot to pass arguments
This commit is contained in:
Zachary Michaels 2014-06-24 22:50:46 +00:00
parent e2ef6983ff
commit f0ef9d1d4d

View File

@ -159,6 +159,9 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u
cryptonote::COMMAND_RPC_GET_BLOCK_HEADERS_RANGE::request req;
cryptonote::COMMAND_RPC_GET_BLOCK_HEADERS_RANGE::response res;
req.start_height = start_block_index;
req.end_height = end_block_index;
if (json_rpc_request(req, res, "getblockheadersrange", "Unsuccessful"))
{
for (auto & header : res.headers)