File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
node_launcher/gui/system_tray_widgets Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def generate_seed(self, new_seed_password: str):
121
121
122
122
seed = generate_seed_response .cipher_seed_mnemonic
123
123
124
- keyring_service_name = f'lnd_seed '
124
+ keyring_service_name = f'lnd_seed_ { self . node_set . bitcoin . network } '
125
125
keyring_user_name = '' .join (seed [0 :2 ])
126
126
log .info (
127
127
'generate_seed' ,
@@ -212,7 +212,8 @@ def get_password(self):
212
212
return passwords
213
213
214
214
def auto_unlock_wallet (self ):
215
- for password in self .get_password ():
215
+ passwords = self .get_password ()
216
+ for password in passwords :
216
217
worker = Worker (
217
218
fn = self .unlock_wallet ,
218
219
lnd = self .node_set .lnd ,
@@ -221,6 +222,8 @@ def auto_unlock_wallet(self):
221
222
worker .signals .result .connect (self .handle_unlock_wallet )
222
223
worker .signals .error .connect (self .handle_unlock_wallet )
223
224
self .threadpool .start (worker )
225
+ if len (passwords ) == 0 :
226
+ self .handle_unlock_wallet ('wallet not found' )
224
227
225
228
def show (self ):
226
229
self .showMaximized ()
You can’t perform that action at this time.
0 commit comments