mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Fix stake ordering
This commit is contained in:
parent
124c81bce7
commit
5a8f2e7228
@ -97,8 +97,8 @@ const StakeOverview = (obj) => {
|
|||||||
let idx = orchList.length - 1;
|
let idx = orchList.length - 1;
|
||||||
while (idx >= 0) {
|
while (idx >= 0) {
|
||||||
const sel = orchList[idx];
|
const sel = orchList[idx];
|
||||||
idx--;
|
|
||||||
if (sel.sum < thisStake) {
|
if (sel.sum < thisStake) {
|
||||||
|
idx--;
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user