mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 10:58:52 +00:00
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:
parent
b4e1dc83d2
commit
6933693179
@ -2199,6 +2199,7 @@ namespace cryptonote
|
|||||||
error_resp.message = "Internal error: can't produce valid response.";
|
error_resp.message = "Internal error: can't produce valid response.";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
res.miner_tx_hash = res.block_header.miner_tx_hash;
|
||||||
for (size_t n = 0; n < blk.tx_hashes.size(); ++n)
|
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]));
|
res.tx_hashes.push_back(epee::string_tools::pod_to_hex(blk.tx_hashes[n]));
|
||||||
|
Loading…
Reference in New Issue
Block a user