aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/dial.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-21 01:41:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-23 18:00:04 +0800
commit189dee26c6c00074ca8fb3ffd81faaf4bbc6825a (patch)
treed732d1a152e1a49d21344fc44c74d50b21752dc5 /p2p/dial.go
parentb9d48b4a9300b948362787b90cf3fb7ae77636b4 (diff)
downloadgo-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar.gz
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar.bz2
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar.lz
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar.xz
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.tar.zst
go-tangerine-189dee26c6c00074ca8fb3ffd81faaf4bbc6825a.zip
p2p: remove trailing newlines from log messages
Diffstat (limited to 'p2p/dial.go')
-rw-r--r--p2p/dial.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/dial.go b/p2p/dial.go
index 57fba136a..1f5c0f15a 100644
--- a/p2p/dial.go
+++ b/p2p/dial.go
@@ -296,7 +296,7 @@ func (t *dialTask) resolve(srv *Server) bool {
// dial performs the actual connection attempt.
func (t *dialTask) dial(srv *Server, dest *discover.Node) bool {
addr := &net.TCPAddr{IP: dest.IP, Port: int(dest.TCP)}
- glog.V(logger.Debug).Infof("dial tcp %v (%x)\n", addr, dest.ID[:6])
+ glog.V(logger.Debug).Infof("dial tcp %v (%x)", addr, dest.ID[:6])
fd, err := srv.Dialer.Dial("tcp", addr.String())
if err != nil {
glog.V(logger.Detail).Infof("%v", err)