Skip to content

Commit 7419890

Browse files
committed
Add comment on validators list
1 parent d2edf11 commit 7419890

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/SelectValidator.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ export default function SelectValidator({
3030
const [open, setOpen] = useState(false);
3131
const [searchText, setSearchText] = useState("");
3232

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

3541
return (

0 commit comments

Comments
 (0)