aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-06-09 21:48:29 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-06-10 17:48:19 +0100
commit0c6e9e4dddee35f61027d271d7929ae6989698b0 (patch)
tree726137caa164ecfd5476a9842f8e7ff305ed3cf3
parentMerge pull request #854 (diff)
downloadmonero-0c6e9e4dddee35f61027d271d7929ae6989698b0.tar.xz
rpc: fix getblock RPC sending blob as binary, not hex dump
-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;