Chia-Network/chia-blockchain

[BUG] 25 words instead of 24 when creating a new wallet

harambasapp opened this issue ยท 16 comments

Describe the bug
I was playing around with adding a new wallet to my chia. I clicked on "Create new private key" but instead of 24 fields with 24 words, I saw 25 of them.

To Reproduce

Steps to reproduce the behavior:

  1. Click on the "Create new private key"
  2. go back
  3. Click on the "Create new private key"
  4. go back
  5. Click on the "Create new private key"
  6. go back
  7. Click on the "Create new private key"
  8. go back
  9. Click on the "Import from mnemonic (24 words)"
  10. go back
  11. Click on the "Create new private key"
  12. go back
  13. Click on the "Create new private key"
  14. go back
  15. Click on the "Create new private key"
  16. That additional 25. field should appear

Expected behavior
As I know there should always be 24 words for mnemonic

25 words wallet01
25 words wallet02

Screenshots

Desktop

  • OS: Windows 10 PRO
  • OS Version: 21H1
  • OS Build: 19043.1202
  • CPU: Ryzen 7 3700x

chia w01.zip

Additional context
Please check the video I have sent to you in the zip file.
Added steps for reproducing the issue are not 100% sure. It may depend on how much times do you have to click on these buttons and to go back.

Now I got 26 words with repeating numbers 07 and 14 with different words in them
26 words wallet01 marked

Ok this is bad

Now I got 26 words with repeating numbers 07 and 14 with different words in them
26 words wallet01 marked

what chia version are you running?

Seems like a gui issue

It's 1.2.5
chia info

It's 1.2.5
chia info

install the latest version. 1.2.6

Same issue present on 1.2.6
chia 1 2 6
1 2 6 26 words

I was stunned

I can reproduce this

oh wow

Thanks for reporting this so thoroughly. This is now added to top of the list of our blockchain engineering team's backlog. https://trello.com/c/vXOCDlIG

Thanks for reporting this so thoroughly. This is now added to top of the list of our blockchain engineering team's backlog. https://trello.com/c/vXOCDlIG

Im also working on it

Seems like it is enough to click on "Create a new private" key and "back" multiple time.
No need to click on "Import from mnemonic (24 words)"

@harambasapp the fix has been made and it will be included in the next update.
Thanks!