1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

Fixed typo in rpc/core_rpc_server.cpp

This commit is contained in:
Julien Klepatch 2017-06-18 16:12:54 +08:00
parent e3da0ca828
commit e4da88a223

View file

@ -1122,8 +1122,8 @@ namespace cryptonote
return false;
}
res.headers.push_back(block_header_response());
bool responce_filled = fill_block_header_response(blk, false, block_height, block_hash, res.headers.back());
if (!responce_filled)
bool response_filled = fill_block_header_response(blk, false, block_height, block_hash, res.headers.back());
if (!response_filled)
{
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;
error_resp.message = "Internal error: can't produce valid response.";