Add comment on validators list

This commit is contained in:
Simon Warta
2025-01-15 09:32:37 +01:00
parent 47f9f2f580
commit 6f28cee482
+6
View File
@@ -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 (