mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
Merge branch 'bzz' of github.com:ethersphere/go-ethereum into bzz
This commit is contained in:
commit
64633e0b0c
1 changed files with 2 additions and 2 deletions
|
|
@ -209,8 +209,8 @@ func (self *bzzProtocol) handle() error {
|
|||
return self.protoError(ErrDecode, "->msg %v: %v", msg, err)
|
||||
}
|
||||
dpaLogger.Warnf("Request message: %#v", req)
|
||||
if req.Key == nil {
|
||||
return self.protoError(ErrDecode, "protocol handler: req.Key == nil")
|
||||
if req.Key == nil || req.Timeout == nil {
|
||||
return self.protoError(ErrDecode, "protocol handler: req.Key == nil || req.Timeout == nil")
|
||||
}
|
||||
req.peer = peer{bzzProtocol: self}
|
||||
self.netStore.addRetrieveRequest(&req)
|
||||
|
|
|
|||
Loading…
Reference in a new issue