Merge pull request #4502

9a856697 rpc: fixed typo in JSON command error response message (AnythingTechPro)
This commit is contained in:
Riccardo Spagni 2018-10-15 13:38:47 +02:00
commit 1afc1d0d26
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

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));