mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Fix:Removing the cancelled request from the tracker's list
This commit is contained in:
parent
cac3de1abf
commit
08e1f21f34
1 changed files with 1 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ func (p *Peer) dispatcher() {
|
|||
}
|
||||
// Stop tracking the request
|
||||
delete(pending, cancelOp.id)
|
||||
requestTracker.Fulfil(p.id, p.version, req.code, cancelOp.id)
|
||||
cancelOp.fail <- nil
|
||||
|
||||
case resOp := <-p.resDispatch:
|
||||
|
|
|
|||
Loading…
Reference in a new issue