Merge pull request #863

0c6e9e4 rpc: fix getblock RPC sending blob as binary, not hex dump (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-06-19 21:52:35 +02:00
commit 21b3a1b43c
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ namespace cryptonote
{
res.tx_hashes.push_back(epee::string_tools::pod_to_hex(blk.tx_hashes[n]));
}
res.blob = t_serializable_object_to_blob(blk);
res.blob = string_tools::buff_to_hex_nodelimer(t_serializable_object_to_blob(blk));
res.json = obj_to_json_str(blk);
res.status = CORE_RPC_STATUS_OK;
return true;