Skip to content

Commit

Permalink
fix: csm motion input sort
Browse files Browse the repository at this point in the history
  • Loading branch information
katamarinaki committed Sep 13, 2024
1 parent bf073dc commit 65197c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const formParts = createMotionFormPart({
motionType: MotionType.CSMSettleElStealingPenalty,
populateTx: async ({ evmScriptFactory, formData, contract }) => {
const sortedNodeOperators = formData.nodeOperators
.map(id => Number(id))
.map(({ id }) => Number(id))
.sort((a, b) => a - b)

const encodedCallData = new utils.AbiCoder().encode(
Expand Down

0 comments on commit 65197c5

Please sign in to comment.