changed params from start/end index to height/count

This commit is contained in:
Dion Ahmetaj
2016-10-10 17:19:36 -04:00
parent e95d3f359b
commit dd6c44327b
10 changed files with 27 additions and 27 deletions

View File

@@ -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;
}
//------------------------------------------------------------------------------------------------------------------------------