Remove 24h time range validation from maislerver request (#1792)

This commit is contained in:
Adam Babik 2020-01-14 08:16:35 +01:00 committed by GitHub
parent 179e3e851e
commit 87f1f8a965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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")
}