fixed sorting of yield_info output in CLI
This commit is contained in:
@@ -2412,7 +2412,7 @@ bool wallet2::get_yield_summary_info(uint64_t &total_burnt,
|
||||
uint64_t &total_yield,
|
||||
uint64_t &yield_per_stake,
|
||||
uint64_t &ybi_data_size,
|
||||
std::vector<std::tuple<size_t, std::string, std::string, uint64_t, uint64_t>> &payouts
|
||||
std::vector<yield_payout_t> &payouts
|
||||
)
|
||||
{
|
||||
// Get the total circulating supply of SALs
|
||||
|
||||
@@ -1760,13 +1760,16 @@ private:
|
||||
bool get_pricing_record(oracle::pricing_record& pr, const uint64_t height);
|
||||
bool get_circulating_supply(std::vector<std::pair<std::string, std::string>> &amounts);
|
||||
bool get_yield_info(std::vector<cryptonote::yield_block_info>& ybi_data);
|
||||
|
||||
typedef std::tuple<size_t, std::string, std::string, uint64_t, uint64_t> yield_payout_t;
|
||||
|
||||
bool get_yield_summary_info(uint64_t &total_burnt,
|
||||
uint64_t &total_supply,
|
||||
uint64_t &total_locked,
|
||||
uint64_t &total_yield,
|
||||
uint64_t &yield_per_stake,
|
||||
uint64_t &ybi_data_size,
|
||||
std::vector<std::tuple<size_t, std::string, std::string, uint64_t, uint64_t>> &payouts
|
||||
std::vector<yield_payout_t> &payouts
|
||||
);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user