Skip to content

Commit 2e28d51

Browse files
committed
sad names
1 parent a672b2d commit 2e28d51

2 files changed

Lines changed: 499 additions & 501 deletions

File tree

api/v1_claim_rewards.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ func getValidators(validators []config.Node, count int, excludedOperators []stri
121121

122122
selected := make([]string, 0)
123123
for _, node := range shuffled {
124-
if !slices.Contains(excludedOperators, node.OperatorEthAddress) {
124+
if !slices.Contains(excludedOperators, node.OwnerWallet) {
125125
selected = append(selected, node.Endpoint)
126-
excludedOperators = append(excludedOperators, node.OperatorEthAddress)
126+
excludedOperators = append(excludedOperators, node.OwnerWallet)
127127
}
128128
}
129129
return selected, nil

0 commit comments

Comments
 (0)