1
0

deseed command

This commit is contained in:
ThomasV
2012-05-13 00:43:22 +02:00
parent 634bff6f8a
commit 2e1fd923b8
3 changed files with 31 additions and 2 deletions

View File

@@ -60,6 +60,9 @@ def numbify(entry, is_int = False):
def show_seed_dialog(wallet, password, parent):
from electrum import mnemonic
if not wallet.seed:
show_message("No seed")
return
try:
seed = wallet.pw_decode( wallet.seed, password)
except:
@@ -483,6 +486,10 @@ def password_dialog(parent):
if result != gtk.RESPONSE_CANCEL: return pw
def change_password_dialog(wallet, parent, icon):
if not wallet.seed:
show_message("No seed")
return
if parent:
msg = 'Your wallet is encrypted. Use this dialog to change the password. To disable wallet encryption, enter an empty new password.' if wallet.use_encryption else 'Your wallet keys are not encrypted'
else: