Skip to content

Commit

Permalink
Merge pull request #1004 from cuibuwei/master
Browse files Browse the repository at this point in the history
chore: fix some function names in comment
  • Loading branch information
guillaumemichel authored Dec 3, 2024
2 parents 352305e + dacbfbe commit 88ef336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dht_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func Resiliency(beta int) Option {
}
}

// LookupInterval configures maximal number of go routines that can be used to
// LookupCheckConcurrency configures maximal number of go routines that can be used to
// perform a lookup check operation, before adding a new node to the routing table.
func LookupCheckConcurrency(n int) Option {
return func(c *dhtcfg.Config) error {
Expand Down
2 changes: 1 addition & 1 deletion pb/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func peerInfoToPBPeer(p peer.AddrInfo) Message_Peer {
return pbp
}

// PBPeerToPeer turns a *Message_Peer into its peer.AddrInfo counterpart
// PBPeerToPeerInfo turns a *Message_Peer into its peer.AddrInfo counterpart
func PBPeerToPeerInfo(pbp Message_Peer) peer.AddrInfo {
return peer.AddrInfo{
ID: peer.ID(pbp.Id),
Expand Down

0 comments on commit 88ef336

Please sign in to comment.