From 69336931791298bef3af560156bc435ef974e576 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 20 Dec 2019 14:16:06 +0000 Subject: rpc: fill miner_tx_hash again It was removed to save duplicated generation time, but it can be copied from another instance instead --- src/rpc/core_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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])); -- cgit v1.2.3