1
0

Merge pull request #4143 from SomberNight/wallet_file_exception

Catch wallet file related exceptions in Qt wizard
This commit is contained in:
ThomasV
2018-03-19 11:57:24 +01:00
committed by GitHub
7 changed files with 63 additions and 38 deletions

View File

@@ -406,7 +406,7 @@ class TrustedCoinPlugin(BasePlugin):
xprv1, xpub1 = self.get_xkeys(seed, passphrase, "m/0'/")
xprv2, xpub2 = self.get_xkeys(seed, passphrase, "m/1'/")
else:
raise BaseException('unrecognized seed length')
raise BaseException('unrecognized seed length: {} words'.format(n))
return xprv1, xpub1, xprv2, xpub2
def create_keystore(self, wizard, seed, passphrase):