From 6f28cee4822272979c15ce7b61bca3dc93c39774 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 13 Jan 2025 14:19:15 +0100 Subject: [PATCH] Add comment on validators list --- components/SelectValidator.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/SelectValidator.tsx b/components/SelectValidator.tsx index a5635e9..35e68bd 100644 --- a/components/SelectValidator.tsx +++ b/components/SelectValidator.tsx @@ -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 (