mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 23:19:22 -05:00
Merge pull request #863
0c6e9e4
rpc: fix getblock RPC sending blob as binary, not hex dump (moneromooo-monero)
This commit is contained in:
commit
21b3a1b43c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user