aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/kademlia_test.go
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2019-01-10 10:36:19 +0800
committerGitHub <noreply@github.com>2019-01-10 10:36:19 +0800
commit6df3e4eeb0dda986aef3f71335151fa63c06f6d3 (patch)
treebefe88b3e0d044281037cd4fcaaab09d32338d6a /swarm/network/kademlia_test.go
parentd70c4faf20d5533e30eec5cbb9b5180eb837b78c (diff)
downloadgo-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar.gz
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar.bz2
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar.lz
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar.xz
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.tar.zst
go-tangerine-6df3e4eeb0dda986aef3f71335151fa63c06f6d3.zip
swarm/network: remove isproxbin bool from kad.Each* iterfunc (#18239)
* swarm/network, swarm/pss: remove isproxbin bool from kad.Each* iterfunc * swarm/network: restore comment and unskip snapshot sync tests
Diffstat (limited to 'swarm/network/kademlia_test.go')
-rw-r--r--swarm/network/kademlia_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/kademlia_test.go b/swarm/network/kademlia_test.go
index 773f201ac..8d320c172 100644
--- a/swarm/network/kademlia_test.go
+++ b/swarm/network/kademlia_test.go
@@ -232,7 +232,7 @@ func assertHealth(t *testing.T, k *Kademlia, expectHealthy bool, expectSaturatio
t.Helper()
kid := common.Bytes2Hex(k.BaseAddr())
addrs := [][]byte{k.BaseAddr()}
- k.EachAddr(nil, 255, func(addr *BzzAddr, po int, _ bool) bool {
+ k.EachAddr(nil, 255, func(addr *BzzAddr, po int) bool {
addrs = append(addrs, addr.Address())
return true
})