mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
update udp test
This commit is contained in:
parent
cb9b031a0b
commit
0e450651a0
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ func startLocalhostV5(t *testing.T, cfg Config) *UDPv5 {
|
|||
}
|
||||
realaddr := socket.LocalAddr().(*net.UDPAddr)
|
||||
ln.SetStaticIP(realaddr.IP)
|
||||
ln.Set(enr.UDP(realaddr.Port))
|
||||
ln.SetFallbackUDP(realaddr.Port)
|
||||
udp, err := ListenV5(socket, ln, cfg)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue