Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
78bash opened this issue Sep 8, 2021 · 1 comment
Open

Comments

@78bash
Copy link

78bash commented Sep 8, 2021

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
Copy link
Author

78bash commented Sep 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@78bash and others