Skip to content

Commit

Permalink
Merge pull request #126 from ssvlabs/da/validator-status
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
axelrod-blox authored Oct 10, 2024
2 parents 9d468dc + eabdf8e commit 89e4316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Validator/Validator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Validator = () => {
const [loadingValidator, setLoadingValidator] = useState(false);
const currentNetwork = chainService().getNetwork();
const isHoleskyTestnet = currentNetwork === EChain.Holesky;
const isNotDepositedValidator = (!validator.validatorInfo || Object.keys(validator.validatorInfo).length === 0) && isHoleskyTestnet;
const isNotDepositedValidator = (Object.keys(validator.validator_info || {}).length === 0) && isHoleskyTestnet;

/**
* Fetch one operator by it's address
Expand Down

0 comments on commit 89e4316

Please sign in to comment.