diff --git a/src/stores/useStakingStore.ts b/src/stores/useStakingStore.ts index 22c0ed8a..35ccbeb6 100644 --- a/src/stores/useStakingStore.ts +++ b/src/stores/useStakingStore.ts @@ -129,7 +129,8 @@ export const useStakingStore = defineStore('stakingStore', { async fetchAllKeyRotation(chain_id: string) { for(const val of this.validators) { const { prefix } = fromBech32(val.operator_address) - await this.fetchKeyRotation(chain_id, pubKeyToValcons(val.consensus_pubkey, prefix.replace('valoper',''))) + console.log(val, prefix) + await this.fetchKeyRotation(chain_id, pubKeyToValcons(val.consensus_pubkey, prefix.replace('valoper','valcons'))) } }, async fetchValidators(status: string, limit = 300) {