rpc: fixed typo in JSON command error response message

This commit is contained in:
AnythingTechPro 2018-10-04 22:12:53 -04:00 committed by GitHub
parent 215651cbb3
commit 9a85669724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1090,7 +1090,7 @@ namespace cryptonote
{ {
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR; error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;
error_resp.message = "Internal error: failed to create block template"; error_resp.message = "Internal error: failed to create block template";
LOG_ERROR("Failed to tx pub key in coinbase extra"); LOG_ERROR("Failed to get tx pub key in coinbase extra");
return false; return false;
} }
res.reserved_offset = slow_memmem((void*)block_blob.data(), block_blob.size(), &tx_pub_key, sizeof(tx_pub_key)); res.reserved_offset = slow_memmem((void*)block_blob.data(), block_blob.size(), &tx_pub_key, sizeof(tx_pub_key));