Skip to content

Commit

Permalink
no need for dashboard request on fresh install
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsc committed Oct 24, 2023
1 parent 8836665 commit 130f838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/utils/ValidatorUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export class ValidatorUtils extends CacheModule {
async getAllMyValidators(): Promise<Validator[]> {
const storageKey = this.getStorageKey()
const local = await this.getMapWithoutDeleted(storageKey)
if (local.size == 0) return []

const validatorString = getValidatorQueryString([...local.values()], 2000, (await this.merchantUtils.getCurrentPlanMaxValidator()) - 1)

Expand Down

0 comments on commit 130f838

Please sign in to comment.