Skip to content

Commit

Permalink
Fix comment (#2775)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo authored Apr 22, 2024
1 parent c5d50ea commit e61c36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ChainOptions(opts ...Option) Option {
// - If no peerstore is provided, the host is initialized with an empty
// peerstore.
//
// To stop/shutdown the returned libp2p node, the user needs to cancel the passed context and call `Close` on the returned Host.
// To stop/shutdown the returned libp2p node, the user needs to call `Close` on the returned Host.
func New(opts ...Option) (host.Host, error) {
return NewWithoutDefaults(append(opts, FallbackDefaults)...)
}
Expand Down

0 comments on commit e61c36f

Please sign in to comment.