swarm/network/simulation: fix New function for-loop scope (#18161)
This commit is contained in:
committed by
Anton Evangelatov
parent
f0515800e6
commit
93854bbad4
@ -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
|
||||
|
Reference in New Issue
Block a user