diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-01-06 18:37:10 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-01-06 18:37:10 +0200 |
commit | 7de1a2d57ae1e242b7949dffcd902266500b47ca (patch) | |
tree | a4fb9c4f6d8abb929625f92ef0c788d5a8cf453b /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #208 (diff) | |
download | monero-7de1a2d57ae1e242b7949dffcd902266500b47ca.tar.xz |
previous hash added to GBT
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
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; |