-
Notifications
You must be signed in to change notification settings - Fork 171
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
Dice roll failure after seed words displayed #434
Comments
hax0rbana-adam
pushed a commit
to hax0rbana-adam/seedsigner
that referenced
this issue
Aug 14, 2023
This was referenced Aug 14, 2023
hax0rbana-adam
pushed a commit
to hax0rbana-adam/seedsigner
that referenced
this issue
Aug 14, 2023
hax0rbana-adam
pushed a commit
to hax0rbana-adam/seedsigner
that referenced
this issue
Aug 14, 2023
newtonick
added a commit
that referenced
this issue
Aug 14, 2023
…-crash fix: avoid execption by calling parent class's constructor #434
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to add a new, 12-word seed using the dice rolling, it prints an error on the screen (photograph below).
This is 100% reproducible on the current dev branch: b68a5e2
Steps to reproduce
Seeds -> Load a seed -> Create a seed -> New seed (dice icon) -> 12 words
Mash buttons for a while.
I understand -> next (x3) -> get error message pictured above
Stacktrace
Full stacktrace
Code reference
Indeed, this view doesn't call the super class's initialization method, unlike all the others.
https://github.com/hax0rbana-adam/seedsigner/blob/432-manual-install-instructions/src/seedsigner/views/seed_views.py#L1115
The question is: why? Was it an error, or was there a good reason to omit it and the code that is checking this and raising the exception the thing that needs to change?
Adding the call to
super().__init__()
does avoid the exception and thus the error, but I'm not sure if this fix is going to have unintended consequences later down the road.The text was updated successfully, but these errors were encountered: