- Version: 4.1.0
- Python: 3.6
- OS: osx
I received the error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/raphael.deem/code/fig-lotto/drawing.py", line 119, in run_lotto
lotto.distribute()
File "/Users/raphael.deem/code/fig-lotto/drawing.py", line 97, in distribute
Eth.sendTransaction({"from": OWNER_ADDRESS, "to": wallet, "value": 1_000_000_000_000_000_000*amount/rate, "gas": 420000})
File "/usr/local/lib/python3.6/site-packages/web3/eth.py", line 250, in sendTransaction
return self.web3.manager.request_blocking(
AttributeError: module 'web3.manager' has no attribute 'request_blocking'
When executing the below code:
Eth = web3.eth.Eth(web3)
Eth.sendTransaction({"from": OWNER_ADDRESS, "to": wallet, "value": 1_000_000_000_000_000_000*amount/rate, "gas": 420000})
I was connecting to a test node on the Ropsten network.