From e4da88a22323edfef4d722125af4f7d7af4e1231 Mon Sep 17 00:00:00 2001 From: Julien Klepatch Date: Sun, 18 Jun 2017 16:12:54 +0800 Subject: Fixed typo in rpc/core_rpc_server.cpp --- src/rpc/core_rpc_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rpc/core_rpc_server.cpp') diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 43891458c..793cdce35 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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."; -- cgit v1.2.3