SeedSigner / seedsigner

Use an air-gapped Raspberry Pi Zero to sign for Bitcoin transactions! (and do other cool stuff)
MIT License
723 stars 168 forks source link

UnboundLocalError when verifying a Taproot address #336

Open 501st-alpha1 opened 1 year ago

501st-alpha1 commented 1 year ago

I'm having some trouble verifying a Taproot address with my SeedSigner.

I exported my xpub from my SeedSigner to a Sparrow wallet, and selected a new Taproot receive address. When I attempt to scan the address QR code with the SeedSigner, I get:

System Error
UnboundLocalError
seed_views.py, 1269, in run
local variable 'sig_type'
referenced before
assignment

I have tried scanning a SegWit address QR code, and that works fine, and it starts searching for matching addresses (but obviously doesn't find any since I did the xpub export as Taproot).

I'm using SeedSigner v0.5.1; I can try upgrading to v0.6.0 if that might help, or otherwise let me know if there's anything else I can do to help troubleshoot.

newtonick commented 1 year ago

This is not yet implemented in 0.6.0 either. 0.6.0 has better handling of this error (it shows the "Not Yet Implemented" screen), but it does not work. In the mean time you can manually compare addresses in the address explorer for P2TR.