Skip to content

Commit

Permalink
https://github.com/gitcoinco/web/issues/6184
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Mar 9, 2020
1 parent 3e5b93f commit 89e56d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/kudos/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,11 @@ def redeem_bulk_coupon(coupon, profile, address, ip_address, save_addr=False):
return None, error, None
else:

if request.user.profile.bulk_transfer_redemptions.filter(coupon=coupon).exists():
error = f'You have already redeemed this kudos.'
return None, error, None


signed = w3.eth.account.signTransaction(tx, private_key)
retry_later = False
try:
Expand Down

0 comments on commit 89e56d9

Please sign in to comment.