diff --git a/staking/effective/calculate.go b/staking/effective/calculate.go index f2b7f593e..bc1ea339b 100644 --- a/staking/effective/calculate.go +++ b/staking/effective/calculate.go @@ -74,7 +74,7 @@ func median(stakes []SlotPurchase) numeric.Dec { sort.SliceStable( stakes, - func(i, j int) bool { return stakes[i].Dec.LTE(stakes[j].Dec) }, + func(i, j int) bool { return stakes[i].Dec.LT(stakes[j].Dec) }, ) const isEven = 0 switch l := len(stakes); l % 2 {