Skip to content

Commit

Permalink
Merge pull request #84 from icon-project/eunsoo-fix-eventmonitorspec
Browse files Browse the repository at this point in the history
Fix error in EventMonitorSpec with multiple filters
  • Loading branch information
eunsoo-icon committed Oct 31, 2023
2 parents 9be6869 + 3f5e96b commit a1b11f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iconsdk/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_request(self) -> any:
if len(self.__filters) == 1:
self.__filters[0].apply_to(params)
else:
params["filters"] = list(map(lambda a: a.as_dict(), self.__filters))
params["eventFilters"] = list(map(lambda a: a.as_dict(), self.__filters))
return object_to_str(params)


Expand Down

0 comments on commit a1b11f0

Please sign in to comment.