From 8cb71a05bab14e2bc5b7c3ceaaf6a0ee036f203e Mon Sep 17 00:00:00 2001 From: Shayan Shiravani Date: Tue, 17 Oct 2023 02:58:08 +0330 Subject: [PATCH] bugfix --- prizetap/tasks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prizetap/tasks.py b/prizetap/tasks.py index 02b30e8b..2deaf308 100644 --- a/prizetap/tasks.py +++ b/prizetap/tasks.py @@ -135,9 +135,10 @@ def draw_linea_raffle(raffle: Raffle): muon_response = muon_response['result'] muon_data = muon_response['data']['result'] raffle_client = LineaPrizetapContractClient(raffle) + random_words = [int(r) for r in muon_data['randomWords']] tx_hash = raffle_client.draw_raffle( - muon_data['expirationTime'], - muon_data['randomWords'], + int(muon_data['expirationTime']), + random_words, muon_response['reqId'], [ muon_response['signatures'][0]['signature'],