diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-06-24 12:43:28 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-06-24 12:43:28 +0200 |
commit | 50d8f73f069115ebe879744cb44897a714f71a61 (patch) | |
tree | 5d5ef9b756dcadd4b69a25ed30c8684a21ba4844 /src/rpc | |
parent | Merge pull request #2089 (diff) | |
parent | Fixed typo in rpc/core_rpc_server.cpp (diff) | |
download | monero-50d8f73f069115ebe879744cb44897a714f71a61.tar.xz |
Merge pull request #2091
e4da88a2 Fixed typo in rpc/core_rpc_server.cpp (Julien Klepatch)
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 7dc5a1fd9..18d1cea75 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1130,8 +1130,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."; |