aboutsummaryrefslogtreecommitdiff
path: root/dht/routing_table_test.go
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2018-02-21 04:20:06 +0000
committerFelix Hanley <felix@userspace.com.au>2018-02-21 04:21:39 +0000
commite9adf3a2bf8b81615275a6705b7957e43753f0ec (patch)
tree1eaeb5081f3914a8ffa936d96ad1f1548c9aeb2f /dht/routing_table_test.go
parent020a8f9ec7e541d284ddb65111aafe42547927e5 (diff)
downloaddhtsearch-e9adf3a2bf8b81615275a6705b7957e43753f0ec.tar.gz
dhtsearch-e9adf3a2bf8b81615275a6705b7957e43753f0ec.tar.bz2
Seperate shared packages
Diffstat (limited to 'dht/routing_table_test.go')
-rw-r--r--dht/routing_table_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/routing_table_test.go b/dht/routing_table_test.go
index 77c0a17..1eeeca3 100644
--- a/dht/routing_table_test.go
+++ b/dht/routing_table_test.go
@@ -32,7 +32,7 @@ func TestPriorityQueue(t *testing.T) {
t.Errorf("failed to create infohash: %s\n", err)
}
addr, _ := net.ResolveUDPAddr("udp", fmt.Sprintf("0.0.0.0:%d", i))
- pq.add(&remoteNode{id: *iht, address: addr})
+ pq.add(&remoteNode{id: *iht, addr: addr})
}
if len(pq.items) != len(pq.addresses) {