fix bug with undetected incorrect password that can damage wallet
This commit is contained in:
@@ -709,7 +709,7 @@ def seed_dialog():
|
||||
password = None
|
||||
|
||||
try:
|
||||
seed = wallet.pw_decode( wallet.seed, password)
|
||||
seed = wallet.decode_seed(password)
|
||||
except:
|
||||
modal_dialog('error','incorrect password')
|
||||
return
|
||||
@@ -725,7 +725,7 @@ def change_password_dialog():
|
||||
password = None
|
||||
|
||||
try:
|
||||
seed = wallet.pw_decode( wallet.seed, password)
|
||||
seed = wallet.decode_seed(password)
|
||||
except:
|
||||
modal_dialog('error','incorrect password')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user