Skip to content

Commit

Permalink
chore: make function comment match function name
Browse files Browse the repository at this point in the history
Signed-off-by: tcpdumppy <847462026@qq.com>
  • Loading branch information
tcpdumppy committed Mar 6, 2025
1 parent 3e1fb7e commit 7ec4f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/bootstrap_peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (c *Config) SetBootstrapPeers(bps []peer.AddrInfo) {
c.Bootstrap = BootstrapPeerStrings(bps)
}

// ParseBootstrapPeer parses a bootstrap list into a list of AddrInfos.
// ParseBootstrapPeers parses a bootstrap list into a list of AddrInfos.
func ParseBootstrapPeers(addrs []string) ([]peer.AddrInfo, error) {
maddrs := make([]ma.Multiaddr, len(addrs))
for i, addr := range addrs {
Expand Down

0 comments on commit 7ec4f3c

Please sign in to comment.