aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 76ffd9334..700019250 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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;