mirror of
https://github.com/monero-project/monero.git
synced 2025-12-30 06:30:50 -08:00
rpc: add option to skip coinbase info in get_blocks.bin
This commit is contained in:
@@ -249,11 +249,14 @@ namespace cryptonote
|
||||
res.status = "Invalid block";
|
||||
return false;
|
||||
}
|
||||
bool r = m_core.get_tx_outputs_gindexs(get_transaction_hash(b.miner_tx), res.output_indices.back().indices.back().indices);
|
||||
if (!r)
|
||||
if (!req.no_miner_tx)
|
||||
{
|
||||
res.status = "Failed";
|
||||
return false;
|
||||
bool r = m_core.get_tx_outputs_gindexs(get_transaction_hash(b.miner_tx), res.output_indices.back().indices.back().indices);
|
||||
if (!r)
|
||||
{
|
||||
res.status = "Failed";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
size_t txidx = 0;
|
||||
ntxes += bd.second.size();
|
||||
|
||||
Reference in New Issue
Block a user