rpc: fill miner_tx_hash again

It was removed to save duplicated generation time, but it can
be copied from another instance instead
This commit is contained in:
moneromooo-monero 2019-12-20 14:16:06 +00:00
parent b4e1dc83d2
commit 6933693179
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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]));