diff --git a/faucet/celery_tasks.py b/faucet/celery_tasks.py index 893681b6..a19d56af 100644 --- a/faucet/celery_tasks.py +++ b/faucet/celery_tasks.py @@ -8,7 +8,7 @@ from django.utils import timezone from sentry_sdk import capture_exception -from authentication.models import NetworkTypes, Wallet +from authentication.models import NetworkTypes from core.models import TokenPrice from core.utils import Web3Utils from tokenTap.models import TokenDistributionClaim @@ -45,12 +45,7 @@ def process_batch(batch_pk): data = [ { - "to": receipt.passive_address - if receipt.passive_address is not None - else Wallet.objects.get( - user_profile=receipt.user_profile, - wallet_type=batch.faucet.chain.chain_type, - ).address, + "to": receipt.to_address, "amount": int(receipt.amount), } for receipt in batch.claims.all()