Skip to content

Commit cfd23bd

Browse files
committed
bugfix
1 parent 4fca7aa commit cfd23bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mytoncore/functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,7 @@ def Complaints(local, ton):
511511
valid_complaints = ton.get_valid_complaints(complaints, election_id)
512512
for c in valid_complaints.values():
513513
complaint_hash = c.get("hash")
514-
if ton.complaint_is_valid(c):
515-
ton.VoteComplaint(election_id, complaint_hash)
514+
ton.VoteComplaint(election_id, complaint_hash)
516515
# end define
517516

518517

0 commit comments

Comments
 (0)