Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten authored and sblackshear committed Feb 8, 2023
1 parent 04624a2 commit edb94fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dapps/frenemies/src/components/Validators/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export function Table({ validators }: Props) {
// sort validators by their live stake info in DESC order
const sorted = [...validators].sort((a, b) =>
Number(
BigInt(b.fields.metatadata.fields.next_epoch_stake) + BigInt(b.fields.metadata.fields.next_epoch_delegation) -
BigInt(a.fields.metatadata.fields.next_epoch_stake) + BigInt(a.fields.metadata.fields.next_epoch_delegation) -
BigInt(b.fields.metadata.fields.next_epoch_stake) + BigInt(b.fields.metadata.fields.next_epoch_delegation) -
BigInt(a.fields.metadata.fields.next_epoch_stake) + BigInt(a.fields.metadata.fields.next_epoch_delegation) -
)
);

Expand Down

0 comments on commit edb94fa

Please sign in to comment.