diff options
author | lash <nolash@users.noreply.github.com> | 2019-02-08 23:57:48 +0800 |
---|---|---|
committer | Rafael Matias <rafael@skyle.net> | 2019-02-19 20:09:09 +0800 |
commit | 068725c5b09a49b32850a9c10707a86f07fde962 (patch) | |
tree | 50e8fa47aa84e442e6116a1e4f4aa460dd3d7c79 /swarm/network/stream/messages.go | |
parent | 710775f43574ca7bdd039abb7474f34a4e4fe9fd (diff) | |
download | go-tangerine-068725c5b09a49b32850a9c10707a86f07fde962.tar.gz go-tangerine-068725c5b09a49b32850a9c10707a86f07fde962.tar.zst go-tangerine-068725c5b09a49b32850a9c10707a86f07fde962.zip |
swarm/network, swarm/storage: Preserve opentracing contexts (#19022)
(cherry picked from commit 0c10d376066cb7e57d3bfc03f950c7750cd90640)
Diffstat (limited to 'swarm/network/stream/messages.go')
-rw-r--r-- | swarm/network/stream/messages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/network/stream/messages.go b/swarm/network/stream/messages.go index b293724cc..de4e8a3bb 100644 --- a/swarm/network/stream/messages.go +++ b/swarm/network/stream/messages.go @@ -300,7 +300,7 @@ func (p *Peer) handleOfferedHashesMsg(ctx context.Context, req *OfferedHashesMsg return } log.Trace("sending want batch", "peer", p.ID(), "stream", msg.Stream, "from", msg.From, "to", msg.To) - err := p.SendPriority(ctx, msg, c.priority) + err := p.SendPriority(ctx, msg, c.priority, "") if err != nil { log.Warn("SendPriority error", "err", err) } |