Merge pull request #2091
e4da88a2
Fixed typo in rpc/core_rpc_server.cpp (Julien Klepatch)
This commit is contained in:
commit
50d8f73f06
1 changed files with 2 additions and 2 deletions
|
@ -1130,8 +1130,8 @@ namespace cryptonote
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
res.headers.push_back(block_header_response());
|
res.headers.push_back(block_header_response());
|
||||||
bool responce_filled = fill_block_header_response(blk, false, block_height, block_hash, res.headers.back());
|
bool response_filled = fill_block_header_response(blk, false, block_height, block_hash, res.headers.back());
|
||||||
if (!responce_filled)
|
if (!response_filled)
|
||||||
{
|
{
|
||||||
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;
|
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;
|
||||||
error_resp.message = "Internal error: can't produce valid response.";
|
error_resp.message = "Internal error: can't produce valid response.";
|
||||||
|
|
Loading…
Reference in a new issue