diff --git a/src/handler/multiversx/utils/selfIsValidator.ts b/src/handler/multiversx/utils/selfIsValidator.ts index 54d131a..bd69adb 100644 --- a/src/handler/multiversx/utils/selfIsValidator.ts +++ b/src/handler/multiversx/utils/selfIsValidator.ts @@ -23,6 +23,9 @@ export default async function selfIsValidator( validatorsDefinition, ); let added = false; - if (firstValue) ({ added } = firstValue.valueOf()[0]); + if (firstValue) { + const [value] = firstValue.valueOf(); + added = value?.added ?? false; + } return added; }