From 02bdb55fdf31c6d607a06b0226049d53172d7024 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 4 Oct 2018 14:40:45 +0200 Subject: [PATCH] p2p/nat: fix tests --- p2p/nat/nat_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/nat/nat_test.go b/p2p/nat/nat_test.go index 469101e997..814e6d9e14 100644 --- a/p2p/nat/nat_test.go +++ b/p2p/nat/nat_test.go @@ -28,7 +28,7 @@ import ( func TestAutoDiscRace(t *testing.T) { ad := startautodisc("thing", func() Interface { time.Sleep(500 * time.Millisecond) - return extIP{33, 44, 55, 66} + return ExtIP{33, 44, 55, 66} }) // Spawn a few concurrent calls to ad.ExternalIP.