aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/stream
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-21 21:36:56 +0800
committerGitHub <noreply@github.com>2018-11-21 21:36:56 +0800
commit4c181e4fb98bb88503cccd6147026b6c2b7b56f6 (patch)
tree48fa84c1fafd579b6df86e3585ed903b461e4734 /swarm/network/stream
parent3fd87f219342ca97a6595263a2aa28bec65fee04 (diff)
downloaddexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.gz
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.bz2
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.lz
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.xz
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.zst
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.zip
swarm/state: refactor InmemoryStore (#18143)
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 0109fbdef..64d754336 100644
--- a/swarm/network/stream/delivery.go
+++ b/swarm/network/stream/delivery.go
@@ -169,7 +169,7 @@ func (d *Delivery) handleRetrieveRequestMsg(ctx context.Context, sp *Peer, req *
go func() {
chunk, err := d.chunkStore.Get(ctx, req.Addr)
if err != nil {
- log.Warn("ChunkStore.Get can not retrieve chunk", "err", err)
+ log.Warn("ChunkStore.Get can not retrieve chunk", "peer", sp.ID().String(), "addr", req.Addr, "hopcount", req.HopCount, "err", err)
return
}
if req.SkipCheck {