Skip to content

Commit a5d14f3

Browse files
committed
fix: check empty list with if list
1 parent 63f1462 commit a5d14f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

observer/validation/fdc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def check_submit_1(
3838
# we perform the following checks:
3939
# - submit1 exists -> error
4040

41-
if submit_1 is not None or extracted_round.submit_1.late is not None:
41+
if submit_1 is not None or extracted_round.submit_1.late:
4242
issues.append(mb.build(MessageLevel.ERROR, "found submit1 transaction"))
4343

4444
return issues

0 commit comments

Comments
 (0)