helium-js icon indicating copy to clipboard operation
helium-js copied to clipboard

Validator info is not populated when using any of the validators methods

Open andreiguzga opened this issue 3 years ago • 1 comments

I tried fetching info regarding validators using this.heliumClient.validators.fromAddress(:address) this.heliumClient.validator(:address)

Both methods return the structure of the validator info but with no values to it.

Example:

{versionHeartbeat: undefined, status: { height: 0, online: '', listenAddrs: [] }, stakeStatus: undefined, stake: Balance { type: NetworkTokens { ticker: 'HNT', decimalPlaces: [BigNumber], coefficient: [BigNumber] }, integerBalance: 0, bigInteger: BigNumber { s: 1, e: 0, c: [Array] }, bigBalance: BigNumber { s: 1, e: 0, c: [Array] }, floatBalance: 0 }, penalty: undefined, penalties: undefined, owner: undefined, name: undefined, lastHeartbeat: undefined, consensusGroups: undefined, blockAdded: undefined, block: undefined, address: ':address'}

andreiguzga avatar Aug 27 '21 13:08 andreiguzga

I tried this on testnet as well as mainnet with the same result

andreiguzga avatar Aug 27 '21 13:08 andreiguzga