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

AssertionError (assert outer_iterations > 0) #524

Open
Karl483r opened this issue Nov 27, 2024 · 2 comments
Open

AssertionError (assert outer_iterations > 0) #524

Karl483r opened this issue Nov 27, 2024 · 2 comments

Comments

@Karl483r
Copy link

Hi,

thanks for your work! I think I know my mnemonic and have a list of possible passwords. So I tried:
python3 seedrecover.py --wallet-type bip39 --addressdb ../addresses-BTC-2011-to-2021-03-31.db --passphrase-list ../passwords --mnemonic "...." --addr-limit 100

I get the following output:

Starting seedrecover 1.13.0-CryptoGuide, btcrecover 1.13.0-Cryptoguide on Python 3.12.3 64-bit, 21-bit unicodes, 64-bit ints
btcrseed
...
Loading address database ...
Loaded 804797813 addresses from database ...
Using the 'en' wordlist.
Assuming a 24 word mnemonic. (This can be overridden with --mnemonic-length)
Initial seed guess has a valid checksum (0.39% chance).
2024-11-27 18:51:20 : Phase 1/5: 1 mistake, excluding entirely different seed words.
Wallet Type: btcrseed.WalletBIP39
Traceback (most recent call last):
  File "/home/ubuntu/btcrecover/seedrecover.py", line 38, in <module>
    mnemonic_sentence, path_coin = btcrseed.main(sys.argv[1:])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/btcrecover/btcrecover/btcrseed.py", line 4085, in main
    mnemonic_found = run_btcrecover(**phase_params)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/btcrecover/btcrecover/btcrseed.py", line 3464, in run_btcrecover
    (mnemonic_found, not_found_msg) = btcrpass.main()
                                      ^^^^^^^^^^^^^^^
  File "/home/ubuntu/btcrecover/btcrecover/btcrpass.py", line 8801, in main
    assert outer_iterations > 0
           ^^^^^^^^^^^^^^^^^^^^
AssertionError

Any idea how I can fix this? Without the password list it seems to run. I tried it on a Mac and on Ubuntu.

Thank you,
Karl

@3rdIteration
Copy link
Owner

Can you generate a test wallet and provide a command that can be pasted to reproduce this error?

@Karl483r
Copy link
Author

I think the issue is related to the length of the password file.

seq 1 200000 > testPWs
python3 seedrecover.py  --wallet-type bip39 --addressdb ../addresses-BTC-2011-to-2021-03-31.db --passphrase-list testPWs --mnemonic "biology away veteran slice curtain imitate cargo luggage tunnel update volume ill flee secret spare crawl update plug animal rally avocado better traffic lock" --addr-limit 100

These commands replicate the error on my system. I think you do not even need the addressdb

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