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

[Bugfix] Manually entering seed phrase after psbt scan or addr verification scan fails; orphaned loading screen spinner fix #214

Merged
merged 5 commits into from
Jun 14, 2022

Conversation

kdmukai
Copy link
Contributor

@kdmukai kdmukai commented May 25, 2022

BUG:

  • Scan a PSBT OR a single sig address (for standalone verification)
  • Select "Enter 12/24 words"

Result: Exception at line 68 in seed_storage.py because the _pending_mnemonic was not yet initialized.


Fix: Provide the same 12- or 24-word seed option from "Load Seed" so that we know how long the mnemonic will be and can properly initialize _pending_mnemonic.

Also standardizes the UI on listing the 12-word option first. Matches the order used in the Tools screens when creating new seeds.


Additional commit (accidentally committed this separate change into this same branch):
Improved handling for the PSBTOverviewView loading screen spinner

Fixes #188

  • Only runs the spinner when the psbt actually needs to be reparsed (returning to the PSBT Overview screen via BACK button doesn't need to reparse the psbt so the spinner is no longer displayed).

Also ensures the spinner exits on crashes on:

  • PSBTFinalizeView
  • SeedExportXpubDetailsView

Fixes SeedSigner#188

* Only runs the spinner when the psbt actually needs to be reparsed (returning to the PSBT Overview screen via BACK button doesn't need to reparse the psbt so the spinner is no longer displayed).
@kdmukai kdmukai changed the title Bugfix: Manually entering seed phrase after psbt scan or addr verification scan fails [Bugfix] Manually entering seed phrase after psbt scan or addr verification scan fails May 26, 2022
@kdmukai kdmukai changed the title [Bugfix] Manually entering seed phrase after psbt scan or addr verification scan fails [Bugfix] Manually entering seed phrase after psbt scan or addr verification scan fails; orphaned loading screen spinner fix May 26, 2022
@newtonick
Copy link
Collaborator

LGTM

Reviewed code change and tested on local device without any issues

1 similar comment
@newtonick
Copy link
Collaborator

LGTM

Reviewed code change and tested on local device without any issues

@newtonick newtonick added this to the 0.5.1 milestone Jun 14, 2022
@newtonick newtonick merged commit 739ea82 into SeedSigner:dev Jun 14, 2022
@newtonick newtonick mentioned this pull request Jun 16, 2022
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

Successfully merging this pull request may close these issues.

xpub spinning goes on forever
2 participants