Skip to content

Commit

Permalink
updated changes-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ATREAY committed Dec 7, 2023
1 parent e16279a commit e2a2f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodebuilder/p2p/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ func routedHost(base HostBase, r routing.PeerRouting) hst.Host {
func host(params hostParams) (HostBase, error) {
buildInfo := node.GetBuildInfo()

userAgent := fmt.Sprintf("%s-node/v%s/%s",
userAgent := fmt.Sprintf("celestia-node/%s/v%s/%s",
params.Net,
buildInfo.SemanticVersion,
buildInfo.LastCommit[:8])
buildInfo.LastCommit[:7])

opts := []libp2p.Option{
libp2p.NoListenAddrs, // do not listen automatically
Expand Down

0 comments on commit e2a2f5b

Please sign in to comment.