aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/stream
diff options
context:
space:
mode:
authorJanoš Guljaš <janos@users.noreply.github.com>2018-11-26 19:39:38 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-26 19:39:38 +0800
commit93854bbad4fb819375463d04cf6b7e66b7f272f7 (patch)
tree83d2e79e1f542fcf26d5e8268477bbe515a52d8d /swarm/network/stream
parentf0515800e6e92044466b095bbb2374465c53b6f1 (diff)
downloaddexon-93854bbad4fb819375463d04cf6b7e66b7f272f7.tar.gz
dexon-93854bbad4fb819375463d04cf6b7e66b7f272f7.tar.zst
dexon-93854bbad4fb819375463d04cf6b7e66b7f272f7.zip
swarm/network/simulation: fix New function for-loop scope (#18161)
Diffstat (limited to 'swarm/network/stream')
-rw-r--r--swarm/network/stream/delivery.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/delivery.go b/swarm/network/stream/delivery.go
index 64d754336..a5c9fa7e8 100644
--- a/swarm/network/stream/delivery.go
+++ b/swarm/network/stream/delivery.go
@@ -255,7 +255,7 @@ func (d *Delivery) RequestFromPeers(ctx context.Context, req *network.Request) (
}
sp = d.getPeer(id)
if sp == nil {
- log.Warn("Delivery.RequestFromPeers: peer not found", "id", id)
+ //log.Warn("Delivery.RequestFromPeers: peer not found", "id", id)
return true
}
spID = &id