We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e7cfe commit cb543fcCopy full SHA for cb543fc
iconsdk/monitor.py
@@ -113,7 +113,7 @@ def get_request(self) -> Dict[str, Any]:
113
params["height"] = self.__height
114
if self.__logs:
115
params["logs"] = True
116
- if len(self.__filters) == 1:
+ if self.__filters is not None and len(self.__filters) == 1:
117
self.__filters[0].apply_to(params)
118
else:
119
params["eventFilters"] = list(map(lambda a: a.as_dict(), self.__filters))
0 commit comments