aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-02-28 19:51:15 -0800
committerAlexander Blair <snipa@jagtech.io>2020-02-28 19:51:15 -0800
commitf3fddd935fa98f8950f76132cb7ba7bf35df3cb3 (patch)
treef6c475b130030e348414356007a28453142e3bd6 /src/rpc
parentMerge pull request #6255 (diff)
parentrpc: fill miner_tx_hash again (diff)
downloadmonero-f3fddd935fa98f8950f76132cb7ba7bf35df3cb3.tar.xz
Merge pull request #6259
69336931 rpc: fill miner_tx_hash again (moneromooo-monero)
Diffstat (limited to 'src/rpc')
-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 a1530e428..5b79310c6 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2216,6 +2216,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]));