Skip to content

Commit

Permalink
chore: fix some function name in comment (#6192)
Browse files Browse the repository at this point in the history
Signed-off-by: needsure <[email protected]>
  • Loading branch information
needsure authored Dec 10, 2024
1 parent b7b3e5e commit b0f1396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netdeploy/remote/nodecfg/nodeConfigurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (nc *nodeConfigurator) prepareNodeDirs(configs []remote.NodeConfig, rootCon
return
}

// getHostName creates a DNS name for a host
// getNetworkHostName creates a DNS name for a host
func (nc *nodeConfigurator) getNetworkHostName() string {
return nc.config.Name + "." + string(nc.genesisData.Network) + ".algodev.network"
}
Expand Down
2 changes: 1 addition & 1 deletion network/p2p/testing/httpNode.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (p httpPeer) GetAddress() string {
return mas[0].String()
}

// GetAddress implements HTTPPeer interface and returns the http client for a peer
// GetHTTPClient implements HTTPPeer interface and returns the http client for a peer
func (p httpPeer) GetHTTPClient() *http.Client {
c, err := p2p.MakeTestHTTPClient(&p.addrInfo)
require.NoError(p.tb, err)
Expand Down

0 comments on commit b0f1396

Please sign in to comment.