Skip to content

Commit

Permalink
Merge pull request #128 from UnitapApp/develop
Browse files Browse the repository at this point in the history
Prizetap: fix PrizetapContractClient
  • Loading branch information
ShayanShiravani authored Sep 24, 2023
2 parents 85c01ef + 3d1d61c commit 9347198
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 9347198

Please sign in to comment.