diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-09 21:48:29 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-10 17:48:19 +0100 |
commit | 0c6e9e4dddee35f61027d271d7929ae6989698b0 (patch) | |
tree | 726137caa164ecfd5476a9842f8e7ff305ed3cf3 /src/rpc | |
parent | Merge pull request #854 (diff) | |
download | monero-0c6e9e4dddee35f61027d271d7929ae6989698b0.tar.xz |
rpc: fix getblock RPC sending blob as binary, not hex dump
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
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; |