Skip to content

Commit

Permalink
Merge pull request #156 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Mohamad Bastin authored Oct 26, 2023
2 parents 7eac87d + 72dad29 commit 445c320
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion brightIDfaucet/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"update_tokentap_claim_for_verified_lightning_claims": {
"task": "faucet.tasks.update_tokentap_claim_for_verified_lightning_claims",
"schedule": 3,
"schedule": 9,
},
'update-tokens-price': {
"task": "faucet.tasks.update_tokens_price",
Expand Down
6 changes: 4 additions & 2 deletions faucet/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def process_verified_lighning_claim(gas_tap_claim_id):
)

if not tokentap_lightning_claim:
raise Exception("No tokentap claim found for user")
print("No tokentap claim found for user")
return

tokentap_lightning_claim.status = ClaimReceipt.VERIFIED
tokentap_lightning_claim.tx_hash = claim.tx_hash
Expand Down Expand Up @@ -308,7 +309,8 @@ def process_rejected_lighning_claim(gas_tap_claim_id):
)

if not tokentap_lightning_claim:
raise Exception("No tokentap claim found for user")
print("No tokentap claim found for user")
return

tokentap_lightning_claim.delete()

Expand Down

0 comments on commit 445c320

Please sign in to comment.