aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-01-21 11:25:48 -0500
committerThomas Winget <tewinget@gmail.com>2015-01-21 11:26:53 -0500
commit9d523780292b1bbf7208425a716e227730a9ba27 (patch)
tree71216dcc7eb0945b4794b11c46d902d42a8e3d96 /src/rpc/core_rpc_server.cpp
parentShould fix std::min issues related to size_t (diff)
parentMerge pull request #215 (diff)
downloadmonero-9d523780292b1bbf7208425a716e227730a9ba27.tar.xz
Merge to keep up with upstream
Merge 'monero-project/master' with blockchain
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index be45a5145..7a41e9b9f 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -475,6 +475,7 @@ namespace cryptonote
LOG_ERROR("Failed to calculate offset for ");
return false;
}
+ res.prev_hash = string_tools::pod_to_hex(b.prev_id);
res.blocktemplate_blob = string_tools::buff_to_hex_nodelimer(block_blob);
res.status = CORE_RPC_STATUS_OK;
return true;