aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorDoyle <doylet@protonmail.com>2019-10-07 12:47:59 +1100
committerDoyle <doylet@protonmail.com>2019-10-07 12:50:05 +1100
commitfd4846134d8f1be690162438635dbf558e177dc2 (patch)
treecba33a127c48c85636471335f2438210b5614f6e /src/rpc/core_rpc_server.cpp
parentMerge pull request #5939 (diff)
downloadmonero-fd4846134d8f1be690162438635dbf558e177dc2.tar.xz
Print cdifficulty and don't serialize miner tx hash twice
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 66af4a364..9f3a5ebf2 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1950,7 +1950,6 @@ namespace cryptonote
error_resp.message = "Internal error: can't produce valid response.";
return false;
}
- res.miner_tx_hash = epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(blk.miner_tx));
for (size_t n = 0; n < blk.tx_hashes.size(); ++n)
{
res.tx_hashes.push_back(epee::string_tools::pod_to_hex(blk.tx_hashes[n]));