p2p/discovery: fix broken tests due to API update

This commit is contained in:
Péter Szilágyi
2015-04-23 19:40:35 +03:00
parent af923c965f
commit 971702e7a1
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ func newUDPTest(t *testing.T) *udpTest {
remotekey: newkey(),
remoteaddr: &net.UDPAddr{IP: net.IP{1, 2, 3, 4}, Port: 30303},
}
test.table, test.udp = newUDP(test.localkey, test.pipe, nil)
test.table, test.udp = newUDP(test.localkey, test.pipe, nil, "")
return test
}