Merge pull request #1180

79bb5a6 Fix build after spelling corrections in core_rpc_server (Jacob Brydolf)
This commit is contained in:
Riccardo Spagni 2016-10-04 15:01:50 +02:00
commit 80c5de9fa0
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 2 deletions

View File

@ -961,8 +961,8 @@ namespace cryptonote
error_resp.message = "Internal error: coinbase transaction in the block has the wrong height"; error_resp.message = "Internal error: coinbase transaction in the block has the wrong height";
return false; return false;
} }
res.headers.push_back(block_header_responce()); res.headers.push_back(block_header_response());
bool responce_filled = fill_block_header_responce(blk, false, block_height, block_hash, res.headers.back()); bool responce_filled = fill_block_header_response(blk, false, block_height, block_hash, res.headers.back());
if (!responce_filled) if (!responce_filled)
{ {
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR; error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;