Merge pull request #15948 from holiman/addr_v5_bootnode

p2p/discv5: logs info about discv5 node info at bind time
This commit is contained in:
Péter Szilágyi 2018-01-23 12:27:03 +02:00 committed by GitHub
commit 302c17c36a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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