Skip to content

Commit

Permalink
Prizetap: fix PrizetapContractClient
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanShiravani committed Sep 24, 2023
1 parent 85c01ef commit 3d1d61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prizetap/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class PrizetapContractClient(Web3Utils):
def __init__(self, raffle) -> None:
super().__init__(raffle.chain.rpc_url_private)
super().__init__(raffle.chain.rpc_url_private, raffle.chain.poa)
self.raffle = raffle
abi = PRIZETAP_ERC721_ABI if self.raffle.is_prize_nft else PRIZETAP_ERC20_ABI
self.set_contract(self.raffle.contract, abi)
Expand Down

0 comments on commit 3d1d61c

Please sign in to comment.