les: Update les/odr_requests.go

This commit is contained in:
CocoaHuke 2018-06-22 13:44:03 -07:00
parent 920731fe99
commit 58326939b9
No known key found for this signature in database
GPG key ID: E300819C1AE33223

View file

@ -580,10 +580,7 @@ func (r *TxStatusRequest) CanSend(peer *peer) bool {
peer.lock.RLock()
defer peer.lock.RUnlock()
if peer.version < lpv2 {
return false
}
return true
return peer.version > lpv1
}
// Request sends an ODR request to the LES network (implementation of LesOdrRequest)