Skip to content

Commit

Permalink
comply with golint
Browse files Browse the repository at this point in the history
  • Loading branch information
felixniemeyer committed Mar 5, 2021
1 parent fc35d25 commit 0ad7076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffs/minerselector/reptop/reptop.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (rt *RepTop) genFromReputation(f ffs.MinerSelectorFilter, n int) ([]ffs.Min
if len(minerErrors) < maxMinerErrors {
minerErrors = append(minerErrors, err)
} else if len(minerErrors) == maxMinerErrors {
minerErrors = append(minerErrors, fmt.Errorf("..."))
minerErrors = append(minerErrors, fmt.Errorf("and more ... "))
}
continue // Cached miner isn't replying to query-ask now, skip.
}
Expand Down

0 comments on commit 0ad7076

Please sign in to comment.