Skip to content

Commit cf444e0

Browse files
authored
Update logs.py
Made topic_0 optional
1 parent cb15231 commit cf444e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etherscan/modules/logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_logs(
8585
f"{fields.ADDRESS}"
8686
f"{address}"
8787
# topic 0
88-
f"{fields.TOPIC_0}"
88+
f"{fields.TOPIC_0*bool(topic_0)}"
8989
f"{topic_0}"
9090
#
9191
# Everything below is optional. If not provided by user, then

0 commit comments

Comments
 (0)