rpc: fill miner_tx_hash again

It was removed to save duplicated generation time, but it can
be copied from another instance instead
pull/235/head
moneromooo-monero 4 years ago
parent b4e1dc83d2
commit 6933693179
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save