Skip to content

Commit

Permalink
Merge pull request #265 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
PooyaFekri authored Jan 16, 2024
2 parents 0b89b4a + ca7bf33 commit 2655af0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions faucet/celery_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ def process_donation_receipt(donation_receipt_pk):
if (
Web3Utils.to_checksum_address(tx.get("to"))
!= evm_fund_manager.get_fund_manager_checksum_address()
or
# TODO: must create donation contract model
Web3Utils.to_checksum_address(tx.get("to"))
!= Web3Utils.to_checksum_address(
"0xE6Bc2586fcC1Da738733867BFAf381B846AAe834".lower()
)
):
donation_receipt.delete()
return
Expand Down

0 comments on commit 2655af0

Please sign in to comment.