aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-20 14:16:06 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-20 14:16:31 +0000
commit69336931791298bef3af560156bc435ef974e576 (patch)
tree9c4b159fb0c9643a937d8b118b7dc6a1e43cd9df
parentMerge pull request #6057 (diff)
downloadmonero-69336931791298bef3af560156bc435ef974e576.tar.xz
rpc: fill miner_tx_hash again
It was removed to save duplicated generation time, but it can be copied from another instance instead
-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 dc93e7023..85ef50a57 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2199,6 +2199,7 @@ namespace cryptonote
error_resp.message = "Internal error: can't produce valid response.";
return false;
}
+ res.miner_tx_hash = res.block_header.miner_tx_hash;
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]));