aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/udp_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-10-23 05:46:01 +0800
committerFelix Lange <fjl@twurst.com>2015-12-18 06:38:54 +0800
commitd1f507b7f16e359dc2773195edb72a22357e5424 (patch)
treed210d2b7161d3f3d68eb2063aaab1decf07cb079 /p2p/discover/udp_test.go
parent82a024d42520969272a11c7566c950e405e7ab48 (diff)
downloadgo-tangerine-d1f507b7f16e359dc2773195edb72a22357e5424.tar.gz
go-tangerine-d1f507b7f16e359dc2773195edb72a22357e5424.tar.zst
go-tangerine-d1f507b7f16e359dc2773195edb72a22357e5424.zip
p2p/discover: support incomplete node URLs, add Resolve
Diffstat (limited to 'p2p/discover/udp_test.go')
-rw-r--r--p2p/discover/udp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go
index 944e73d6e..55d6d564a 100644
--- a/p2p/discover/udp_test.go
+++ b/p2p/discover/udp_test.go
@@ -243,7 +243,7 @@ func TestUDP_findnode(t *testing.T) {
// ensure there's a bond with the test node,
// findnode won't be accepted otherwise.
- test.table.db.updateNode(newNode(
+ test.table.db.updateNode(NewNode(
PubkeyID(&test.remotekey.PublicKey),
test.remoteaddr.IP,
uint16(test.remoteaddr.Port),