aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/discovery.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/network/discovery.go')
-rw-r--r--swarm/network/discovery.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/discovery.go b/swarm/network/discovery.go
index 21703e70f..c6f522430 100644
--- a/swarm/network/discovery.go
+++ b/swarm/network/discovery.go
@@ -161,7 +161,7 @@ func (d *Peer) handleSubPeersMsg(msg *subPeersMsg) error {
d.setDepth(msg.Depth)
var peers []*BzzAddr
d.kad.EachConn(d.Over(), 255, func(p *Peer, po int, isproxbin bool) bool {
- if pob, _ := pof(d, d.kad.BaseAddr(), 0); pob > po {
+ if pob, _ := Pof(d, d.kad.BaseAddr(), 0); pob > po {
return false
}
if !d.seen(p.BzzAddr) {