namecoin / electrum-nmc

Namecoin port of Electrum Bitcoin client.
https://www.namecoin.org/
MIT License
29 stars 24 forks source link

Exception handling in registration Qt GUI broken #235

Closed JeremyRand closed 4 years ago

JeremyRand commented 4 years ago

@gits7r reported on Matrix/IRC that when https://github.com/namecoin/electrum-nmc/issues/234 occurs in 3.3.9.1, the exception handling breaks as follows:

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "electrum_nmc\electrum\gui\qt\configure_name_dialog.py", line 124, in
File "electrum_nmc\electrum\gui\qt\configure_name_dialog.py", line 157, in register_and_broadcast
UnboundLocalError: local variable 'formatted_name' referenced before assignment