diff --git a/snow/validators/manager.go b/snow/validators/manager.go index c9bdf18e910f..91391aaa2088 100644 --- a/snow/validators/manager.go +++ b/snow/validators/manager.go @@ -135,7 +135,7 @@ func RemoveWeight(m Manager, subnetID ids.ID, nodeID ids.NodeID, weight uint64) return vdrs.RemoveWeight(nodeID, weight) } -// AddWeight is a helper that fetches the validator set of [subnetID] from [m] +// Contains is a helper that fetches the validator set of [subnetID] from [m] // and returns if the validator set contains [nodeID]. If [m] does not contain a // validator set for [subnetID], false is returned. func Contains(m Manager, subnetID ids.ID, nodeID ids.NodeID) bool {