Load unbonded and unbonding validators too

This commit is contained in:
Simon Warta
2025-01-15 09:32:37 +01:00
parent 8edea74032
commit d540c64bad
5 changed files with 65 additions and 17 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ const OldCreateTxForm = ({ router, senderAddress, accountOnChain }: OldCreateTxF
};
const addMsgWithValidator = (newMsgType: MsgTypeUrl) => {
if (!validators.length) {
const validatorsLoaded = !!validators.bonded.length;
if (!validatorsLoaded) {
loadValidators(chainsDispatch);
}