mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Just print all earners in the summary
This commit is contained in:
parent
8a70d2a4b4
commit
eceb53af5d
@ -108,10 +108,10 @@ const Stats = (obj) => {
|
|||||||
summary += data.winningTicketsReceived.length + " orchestrators earned " + data.winningTicketsReceivedSum.toFixed(3) + " Eth in transcoding fees \r\n";
|
summary += data.winningTicketsReceived.length + " orchestrators earned " + data.winningTicketsReceivedSum.toFixed(3) + " Eth in transcoding fees \r\n";
|
||||||
}
|
}
|
||||||
summary += luckyCount + " of them received more than 0.2 Eth\r\n";
|
summary += luckyCount + " of them received more than 0.2 Eth\r\n";
|
||||||
summary += "Top 25 earners for this month are: \r\n";
|
summary += "Winning tickets sent out this month:\r\n";
|
||||||
|
|
||||||
// Find highest earner
|
// Find highest earner
|
||||||
const maxPrint = 25;
|
const maxPrint = 100;
|
||||||
let currentPrinted = 0;
|
let currentPrinted = 0;
|
||||||
while (currentPrinted < maxPrint && winnerList.length) {
|
while (currentPrinted < maxPrint && winnerList.length) {
|
||||||
let ticketIdx2 = winnerList.length - 1;
|
let ticketIdx2 = winnerList.length - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user