p2p/discv5: logs info about discv5 node info at bind time

pull/15948/head
Martin Holst Swende 7 years ago
parent 5d4267911a
commit 48641d7308
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0
  1. 1
      p2p/discv5/udp.go

@ -247,6 +247,7 @@ func ListenUDP(priv *ecdsa.PrivateKey, conn conn, realaddr *net.UDPAddr, nodeDBP
if err != nil { if err != nil {
return nil, err return nil, err
} }
log.Info("UDP listener up", "net", net.tab.self)
transport.net = net transport.net = net
go transport.readLoop() go transport.readLoop()
return net, nil return net, nil

Loading…
Cancel
Save