1
0

simplification (get rid of get_mnemonic)

This commit is contained in:
ThomasV
2016-10-14 12:09:43 +02:00
parent d950cd7323
commit bab15a245b
4 changed files with 9 additions and 15 deletions

View File

@@ -1706,13 +1706,13 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
return
keystore = self.wallet.get_keystore()
try:
mnemonic = keystore.get_mnemonic(password)
seed = keystore.get_seed(password)
passphrase = keystore.get_passphrase(password)
except BaseException as e:
self.show_error(str(e))
return
from seed_dialog import SeedDialog
d = SeedDialog(self, mnemonic, passphrase)
d = SeedDialog(self, seed, passphrase)
d.exec_()