esneider / indy

🕵️‍♂️ Find and sweep all the funds spendable by your bitcoin private key.
MIT License
60 stars 26 forks source link

AttributeError: 'StratumClient' object has no attribute 'batch_rpc' #3

Open 78bash opened 3 years ago

78bash commented 3 years ago

I receive the following error output upon running indy: 🔑 Read mnemonic successfully ⏳ Connecting to electrum server, this might take a while 🌍 Connected to electrum server successfully 🏃‍♀️ Searching possible addresses: 0%| | 0/609 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/trenaz/indy/indy.py", line 188, in <module> main() File "/home/trenaz/indy/indy.py", line 67, in main loop.run_until_complete(find_utxos( File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/trenaz/indy/indy.py", line 130, in find_utxos utxos = await scanner.scan_master_key(client, master_key, address_gap, account_gap, should_batch) File "/home/trenaz/indy/scanner.py", line 66, in scan_master_key responses = await _electrum_rpc(client, batch_request) File "/home/trenaz/indy/scanner.py", line 131, in _electrum_rpc response = await client.batch_rpc(requests) AttributeError: 'StratumClient' object has no attribute 'batch_rpc'`

78bash commented 3 years ago

[Reposting without formatting] 🔑 Read mnemonic successfully ⏳ Connecting to electrum server, this might take a while 🌍 Connected to electrum server successfully 🏃‍♀️ Searching possible addresses: 0%| | 0/609 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/trenaz/indy/indy.py", line 188, in main() File "/home/trenaz/indy/indy.py", line 67, in main loop.run_until_complete(find_utxos( File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/trenaz/indy/indy.py", line 130, in find_utxos utxos = await scanner.scan_master_key(client, master_key, address_gap, account_gap, should_batch) File "/home/trenaz/indy/scanner.py", line 66, in scan_master_key responses = await _electrum_rpc(client, batch_request) File "/home/trenaz/indy/scanner.py", line 131, in _electrum_rpc response = await client.batch_rpc(requests) AttributeError: 'StratumClient' object has no attribute 'batch_rpc'