|
|
|
|
@ -1530,6 +1530,7 @@ class JMMainWindow(QMainWindow):
|
|
|
|
|
Initializes by syncing. |
|
|
|
|
''' |
|
|
|
|
if not seed: |
|
|
|
|
try: |
|
|
|
|
success = wallet_generate_recover_bip39("generate", |
|
|
|
|
"wallets", |
|
|
|
|
"wallet.jmdat", |
|
|
|
|
@ -1542,6 +1543,10 @@ class JMMainWindow(QMainWindow):
|
|
|
|
|
JMQtMessageBox(self, "Failed to create new wallet file.", |
|
|
|
|
title="Error", mbtype="warn") |
|
|
|
|
return |
|
|
|
|
except Exception as e: |
|
|
|
|
JMQtMessageBox(self, e.args[0], title="Error", mbtype="warn") |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
JMQtMessageBox(self, 'Wallet saved to ' + self.walletname, |
|
|
|
|
title="Wallet created") |
|
|
|
|
self.loadWalletFromBlockchain(self.walletname, pwd=self.textpassword, |
|
|
|
|
|