indy icon indicating copy to clipboard operation
indy copied to clipboard

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

Open 78bash opened this issue 2 years ago • 1 comments

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 avatar Sep 08 '21 21:09 78bash

[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'

78bash avatar Sep 08 '21 21:09 78bash