diff --git a/eth/filters/api.go b/eth/filters/api.go index 657f01ebd1..f91c347b51 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -43,14 +43,14 @@ var ( errExceedMaxAddresses = errors.New("exceed max addresses") ) -// The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0 -const maxTopics = 4 - -// The maximum number of allowed topics within a topic criteria -const maxSubTopics = 1000 - -// The maximum number of addresses allowed in a filter criteria -const maxAddresses = 100 +const ( + // The maximum number of addresses allowed in a filter criteria + maxAddresses = 1000 + // The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0 + maxTopics = 4 + // The maximum number of allowed topics within a topic criteria + maxSubTopics = 1000 +) // filter is a helper struct that holds meta information over the filter type // and associated subscription in the event system.