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

View file

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