diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-12-20 14:16:06 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-12-20 14:16:31 +0000 |
commit | 69336931791298bef3af560156bc435ef974e576 (patch) | |
tree | 9c4b159fb0c9643a937d8b118b7dc6a1e43cd9df /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #6057 (diff) | |
download | monero-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
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 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])); |