Fix stake ordering

This commit is contained in:
Marco van Dijk 2022-04-17 13:19:54 +02:00
parent 124c81bce7
commit 5a8f2e7228

View File

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