Skip to content

Commit

Permalink
Merge pull request #3970 from Koniverse/koni/dev/issue-2533-v2
Browse files Browse the repository at this point in the history
[Issue 2533] Set up SubWallet validators v2
  • Loading branch information
saltict authored Jan 10, 2025
2 parents 42a5e2d + 971bc51 commit caf62c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension-koni-ui/src/utils/earning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function autoSelectValidatorOptimally (validators: ValidatorInfo[], maxCo
if (result.length >= maxCount) {
shuffle<ValidatorInfo>(result);

return result.slice(0, maxCount - 1);
return result.slice(0, maxCount);
}

shuffle<ValidatorInfo>(notPreSelected);
Expand Down

1 comment on commit caf62c0

@saltict
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.