aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorDion Ahmetaj <Dion Ahmetaj>2016-10-10 17:19:36 -0400
committerDion Ahmetaj <Dion Ahmetaj>2016-10-10 17:19:36 -0400
commitdd6c44327be7d90574466bc37561b9d156466972 (patch)
tree03e4d18d3ac6b30c442b093155d441d354d96adc /src/rpc/core_rpc_server.cpp
parentattempted to remove whitespace spam (diff)
downloadmonero-dd6c44327be7d90574466bc37561b9d156466972.tar.xz
changed params from start/end index to height/count
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index a1744c89c..af36961f2 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -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;
}
//------------------------------------------------------------------------------------------------------------------------------