password dialog
This commit is contained in:
@@ -441,14 +441,7 @@ def change_password_dialog(wallet, parent, icon):
|
||||
show_message("passwords do not match")
|
||||
return
|
||||
|
||||
wallet.use_encryption = (new_password != '')
|
||||
wallet.seed = wallet.pw_encode( seed, new_password)
|
||||
for k in wallet.imported_keys.keys():
|
||||
a = wallet.imported_keys[k]
|
||||
b = wallet.pw_decode(a, password)
|
||||
c = wallet.pw_encode(b, new_password)
|
||||
wallet.imported_keys[k] = c
|
||||
wallet.save()
|
||||
wallet.update_password(seed, new_password)
|
||||
|
||||
if icon:
|
||||
if wallet.use_encryption:
|
||||
|
||||
Reference in New Issue
Block a user