mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
do not save wallet during recovery dialog
This commit is contained in:
parent
58d73c66e0
commit
2038de2302
1 changed files with 3 additions and 1 deletions
|
@ -124,6 +124,7 @@ def init_wallet(wallet):
|
|||
|
||||
else:
|
||||
# ask for the server.
|
||||
wallet.interface.get_servers()
|
||||
run_network_dialog( wallet, parent=None )
|
||||
|
||||
# ask for seed and gap.
|
||||
|
@ -370,8 +371,9 @@ def run_network_dialog( wallet, parent ):
|
|||
if host!= wallet.interface.host or port!=wallet.interface.port:
|
||||
wallet.interface.host = host
|
||||
wallet.interface.set_port( port )
|
||||
wallet.save()
|
||||
wallet.interface.is_connected = False
|
||||
if parent:
|
||||
wallet.save()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue