Skip to content

Commit 0e45065

Browse files
committed
update udp test
1 parent cb9b031 commit 0e45065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/discover/v5_udp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func startLocalhostV5(t *testing.T, cfg Config) *UDPv5 {
9090
}
9191
realaddr := socket.LocalAddr().(*net.UDPAddr)
9292
ln.SetStaticIP(realaddr.IP)
93-
ln.Set(enr.UDP(realaddr.Port))
93+
ln.SetFallbackUDP(realaddr.Port)
9494
udp, err := ListenV5(socket, ln, cfg)
9595
if err != nil {
9696
t.Fatal(err)

0 commit comments

Comments
 (0)