Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Schalm <[email protected]>
  • Loading branch information
durkmurder and jordanschalm authored Nov 1, 2023
1 parent d998fbf commit b3d92bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/protocol/protocol_state/mutator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (s *StateMutatorSuite) TestApplyServiceEventsSealsOrdered() {
seals = append(seals, seal)
}

// shuffle seals to make sure we order them
// shuffle seals to make sure they are not ordered in the payload, so `ApplyServiceEvents` needs to explicitly sort them.
require.NoError(s.T(), rand.Shuffle(uint(len(seals)), func(i, j uint) {
seals[i], seals[j] = seals[j], seals[i]
}))
Expand Down

0 comments on commit b3d92bc

Please sign in to comment.