Skip to content

Commit

Permalink
Add comment on validators list
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jan 13, 2025
1 parent d2edf11 commit 7419890
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/SelectValidator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ export default function SelectValidator({
const [open, setOpen] = useState(false);
const [searchText, setSearchText] = useState("");

// The list of validators includes unbonding and unbonded validators in order to
// be able to do undelegates and redelegates from jailed validators as well as delegate
// to validators who are not yet active.
//
// If this list becomes too long due to spam registrations, we can try to do some
// reasonable filtering here.
const validators = [...bonded, ...unbonding, ...unbonded];

return (
Expand Down

0 comments on commit 7419890

Please sign in to comment.