Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanShiravani committed Oct 16, 2023
1 parent 9ed1c5e commit 8cb71a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prizetap/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 8cb71a0

Please sign in to comment.