Skip to content

Commit

Permalink
Fix: Turn off identities (#2805)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuul-wq authored and stepanLav committed Dec 6, 2024
1 parent fada22f commit 11bb00a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/entities/staking/api/validatorsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,14 @@ function getMaxValidators(api: ApiPromise): number {
return getDefaultValidatorsAmount(api);
}

// TODO: Temporary turn off identities
async function getIdentities(
api: ApiPromise,
addresses: Address[],
isLightClient?: boolean,
): Promise<Record<Address, { identity: Identity }>> {
return Promise.resolve({});

const subIdentities = await getSubIdentities(api, addresses, isLightClient);
const parentIdentities = await getParentIdentities(api, subIdentities, isLightClient);

Expand Down

0 comments on commit 11bb00a

Please sign in to comment.