mirror of
https://github.com/monero-project/monero.git
synced 2026-01-27 15:25:37 -08:00
changed params from start/end index to height/count
This commit is contained in:
@@ -1268,7 +1268,7 @@ namespace cryptonote
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
bool core_rpc_server::on_get_coinbase_tx_sum(const COMMAND_RPC_GET_COINBASE_TX_SUM::request& req, COMMAND_RPC_GET_COINBASE_TX_SUM::response& res, epee::json_rpc::error& error_resp)
|
||||
{
|
||||
res.amount = m_core.get_coinbase_tx_sum(req.start_height, req.end_height);
|
||||
res.amount = m_core.get_coinbase_tx_sum(req.height, req.count);
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user