From a0ebd60f3d0c76d7bb9f3af4328650ec0a585d01 Mon Sep 17 00:00:00 2001 From: Mohamad Bastin Date: Tue, 3 Oct 2023 00:33:25 +0200 Subject: [PATCH] change claim data creation in tasks --- faucet/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faucet/tasks.py b/faucet/tasks.py index d71abfde..e5815d9f 100644 --- a/faucet/tasks.py +++ b/faucet/tasks.py @@ -87,7 +87,7 @@ def process_batch(self, batch_pk): user_profile=receipt.user_profile, wallet_type=batch.chain.chain_type, ).address, - "amount": receipt.amount, + "amount": int(receipt.amount), } for receipt in batch.claims.all() ]