Skip to content

Commit

Permalink
update GetConnectedCanonicalValidators comment
Browse files Browse the repository at this point in the history
  • Loading branch information
iansuvak committed Jan 29, 2025
1 parent 29829f7 commit 78dd329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peers/app_request_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ func (c *ConnectedCanonicalValidators) GetValidator(nodeID ids.NodeID) (*warp.Va
return c.ValidatorSet[c.NodeValidatorIndexMap[nodeID]], c.NodeValidatorIndexMap[nodeID]
}

// GetConnectedCanonicalValidators returns the connected validator information for the given subnet
// at the time of the call.
// GetConnectedCanonicalValidators returns the validator information in canonical ordering for the given subnet
// at the time of the call, as well as the total weight of the validators that this network is connected to
func (n *appRequestNetwork) GetConnectedCanonicalValidators(subnetID ids.ID) (*ConnectedCanonicalValidators, error) {
// Get the subnet's current canonical validator set
startPChainAPICall := time.Now()
Expand Down

0 comments on commit 78dd329

Please # to comment.