aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-06-19 21:52:35 +0200
committerRiccardo Spagni <ric@spagni.net>2016-06-19 21:52:35 +0200
commit21b3a1b43cfd6e1f32a2725701e83e2cde7d9aa8 (patch)
treeba20797871880ef348352c0c1a6dd282738e8ee9
parentMerge pull request #862 (diff)
parentrpc: fix getblock RPC sending blob as binary, not hex dump (diff)
downloadmonero-21b3a1b43cfd6e1f32a2725701e83e2cde7d9aa8.tar.xz
Merge pull request #863
0c6e9e4 rpc: fix getblock RPC sending blob as binary, not hex dump (moneromooo-monero)
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 9e8d1108e..cfe1057ac 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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;