Skip to content

Commit

Permalink
fix raffle 1000 usdc
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanShiravani committed Aug 15, 2024
1 parent e0929cf commit 9849be8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prizetap/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ def set_raffle_ids(self):
if raffle.creator_address != onchain_raffle["initiator"]:
is_valid = False
logging.error(f"Mismatch raffle {raffle.pk} initiator")
if (
raffle.max_number_of_entries
!= onchain_raffle["maxParticipants"]
):
is_valid = False
logging.error(f"Mismatch raffle {raffle.pk} maxParticipants")
# if (
# raffle.max_number_of_entries
# != onchain_raffle["maxParticipants"]
# ):
# is_valid = False
# logging.error(f"Mismatch raffle {raffle.pk} maxParticipants")
if raffle.max_multiplier != onchain_raffle["maxMultiplier"]:
is_valid = False
logging.error(f"Mismatch raffle {raffle.pk} maxMultiplier")
Expand Down

0 comments on commit 9849be8

Please sign in to comment.