mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
req logged in putback
This commit is contained in:
parent
e574002c3e
commit
e787f4c885
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ func (self *NetStore) put(entry *Chunk) {
|
||||||
dpaLogger.Debugf("NetStore.put: localStore.Put of %064x completed.", entry.Key)
|
dpaLogger.Debugf("NetStore.put: localStore.Put of %064x completed.", entry.Key)
|
||||||
go self.store(entry)
|
go self.store(entry)
|
||||||
// only send responses once
|
// only send responses once
|
||||||
dpaLogger.Debugf("NetStore.put: req: %#v", entry.Key)
|
dpaLogger.Debugf("NetStore.put: req: %#v", entry.req)
|
||||||
if entry.req != nil && entry.req.status == reqSearching {
|
if entry.req != nil && entry.req.status == reqSearching {
|
||||||
entry.req.status = reqFound
|
entry.req.status = reqFound
|
||||||
close(entry.req.C)
|
close(entry.req.C)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue