mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 13:09:24 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
res.tx_hashes.push_back(epee::string_tools::pod_to_hex(blk.tx_hashes[n]));
|
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.json = obj_to_json_str(blk);
|
||||||
res.status = CORE_RPC_STATUS_OK;
|
res.status = CORE_RPC_STATUS_OK;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue