diff options
author | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-11-30 06:55:35 +0800 |
---|---|---|
committer | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-12-08 20:38:15 +0800 |
commit | e67500aa15a2f51a96f0ae91ab3af898b81d82f2 (patch) | |
tree | 1406ba81a4fc59d775d1b44082af5a35401da7bf /les/handler.go | |
parent | a6d3bf6fc37571484ab4e174f1ca032b40bc16fb (diff) | |
download | dexon-e67500aa15a2f51a96f0ae91ab3af898b81d82f2.tar.gz dexon-e67500aa15a2f51a96f0ae91ab3af898b81d82f2.tar.zst dexon-e67500aa15a2f51a96f0ae91ab3af898b81d82f2.zip |
les: fixed light fetcher request ID matching
Diffstat (limited to 'les/handler.go')
-rw-r--r-- | les/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/les/handler.go b/les/handler.go index 2e6952d2f..f1a8bc62c 100644 --- a/les/handler.go +++ b/les/handler.go @@ -559,7 +559,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error { } p.fcServer.GotReply(resp.ReqID, resp.BV) if pm.fetcher.requestedID(resp.ReqID) { - pm.fetcher.deliverHeaders(resp.ReqID, resp.Headers) + pm.fetcher.deliverHeaders(p, resp.ReqID, resp.Headers) } else { err := pm.downloader.DeliverHeaders(p.id, resp.Headers) if err != nil { |