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

This commit is contained in:
Martin Holst Swende 2018-01-23 08:50:11 +01:00
parent 5d4267911a
commit 48641d7308
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0

View File

@ -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