Skip to content

Commit

Permalink
Fix bug comparing non-unique tweets
Browse files Browse the repository at this point in the history
  • Loading branch information
Volara committed Oct 9, 2024
1 parent ffb8d49 commit a664b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volara_proof/proofs/proof_of_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _validate_tweets(
text = tweet["result"]["tweet"]["legacy"]["full_text"]
else:
text = tweet["result"]["legacy"]["full_text"]
if text != tweets_data.Tweets(tweet_data_i).Text().decode():
if text != unique_tweet_data[tweet_data_i].Text().decode():
return False
return True

Expand Down

0 comments on commit a664b92

Please sign in to comment.