mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 07:26:15 -08:00
Merge pull request #2735
a524b750 rpc: added miner_tx_hash to resp of getblock (stoffu)
This commit is contained in:
@@ -1307,6 +1307,7 @@ namespace cryptonote
|
||||
error_resp.message = "Internal error: can't produce valid response.";
|
||||
return false;
|
||||
}
|
||||
res.miner_tx_hash = epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(blk.miner_tx));
|
||||
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]));
|
||||
|
||||
Reference in New Issue
Block a user