Skip to content

Commit

Permalink
fix: sort signers (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux authored Jun 26, 2024
1 parent 182bf73 commit 8462128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/election/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class ElectionRun extends BaseCommand {
const signers = await performElections(kit)

const validatorList = await Promise.all(
signers.map((addr) => validators.getValidatorFromSigner(addr))
signers.sort().map((addr) => validators.getValidatorFromSigner(addr))
)
ux.action.stop()

Expand Down

0 comments on commit 8462128

Please sign in to comment.