diff options
| author | Felix Hanley <felix@userspace.com.au> | 2018-02-21 04:20:06 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2018-02-21 04:21:39 +0000 |
| commit | e9adf3a2bf8b81615275a6705b7957e43753f0ec (patch) | |
| tree | 1eaeb5081f3914a8ffa936d96ad1f1548c9aeb2f /dht/routing_table_test.go | |
| parent | 020a8f9ec7e541d284ddb65111aafe42547927e5 (diff) | |
| download | dhtsearch-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.go | 2 |
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) { |
