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 bcd606e commit d9fe2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prizetap/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ def draw_linea_raffle(raffle: Raffle):
f"https://shield.unitap.app/v1/?app=stage_unitap&method=random-words&params[chainId]={raffle.chain.chain_id}&params[prizetapRaffle]={raffle.contract}&params[raffleId]={raffle.raffleId}"
)
muon_response = muon_response.json()
print(muon_response)
if muon_response['success']:
muon_response = muon_response['result']
muon_data = muon_response['data']['result']
raffle_client = LineaPrizetapContractClient(raffle)
tx_hash = raffle_client.draw_raffle(
raffle.raffleId,
muon_data['expirationTime'],
muon_data['randomWords'],
muon_response['reqId'],
Expand Down

0 comments on commit d9fe2cd

Please sign in to comment.