rpc: fix getblock RPC sending blob as binary, not hex dump
This commit is contained in:
parent
30ef965f9a
commit
0c6e9e4ddd
|
@ -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 New Issue