Skip to content

Commit

Permalink
chore: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Dec 20, 2024
1 parent bbdd2f6 commit 68c40f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutil/integration/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (suite *KeeperTestSuite) VerifyPoolQueries() {
}
}

sort.Slice(stakersByPoolState, func(a, b int) bool {
sort.SliceStable(stakersByPoolState, func(a, b int) bool {
return suite.App().StakersKeeper.GetValidatorPoolStake(suite.Ctx(), stakersByPoolState[a].Address, poolsState[i].Id) > suite.App().StakersKeeper.GetValidatorPoolStake(suite.Ctx(), stakersByPoolState[b].Address, poolsState[i].Id)
})

Expand Down

0 comments on commit 68c40f4

Please sign in to comment.