From 3d1d61c09c1f65bf1c9d3477ce7361708fe2c66f Mon Sep 17 00:00:00 2001 From: Shayan Shiravani Date: Sun, 24 Sep 2023 13:45:19 +0330 Subject: [PATCH] Prizetap: fix PrizetapContractClient --- prizetap/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prizetap/utils.py b/prizetap/utils.py index ba5b40e1..25d9bfca 100644 --- a/prizetap/utils.py +++ b/prizetap/utils.py @@ -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)