Remove 24h time range validation from maislerver request (#1792)
This commit is contained in:
parent
179e3e851e
commit
87f1f8a965
|
@ -39,9 +39,6 @@ func (r MessagesRequestPayload) Validate() error {
|
|||
if r.Upper < r.Lower {
|
||||
return errors.New("query range is invalid: lower > upper")
|
||||
}
|
||||
if r.Upper-r.Lower > uint32(maxQueryRange.Seconds()) {
|
||||
return errors.New("query range must be smaller or equal to 24 hours")
|
||||
}
|
||||
if len(r.Bloom) == 0 {
|
||||
return errors.New("bloom filter is empty")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue