swarm/network/simulation: fix New function for-loop scope (#18161)

This commit is contained in:
Janoš Guljaš
2018-11-26 12:39:38 +01:00
committed by Anton Evangelatov
parent f0515800e6
commit 93854bbad4
4 changed files with 56 additions and 1 deletions

View File

@ -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