commit d150a6d29cbf01dfd3e4cb0cec13c46435f96099
parent 11d135b32d7c59782dbbd3327f65adfda1fdf1dd
Author: Neil Booth <kyuupichan@gmail.com>
Date: Fri, 1 Jan 2016 18:22:06 +0900
Fix trustedcoin crash
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
@@ -199,8 +199,6 @@ class Wallet_2fa(Multisig_Wallet):
return 'create_extended_seed'
if xpub3 is None:
return 'create_remote_key'
- if not self.accounts:
- return 'create_accounts'
def make_seed(self):
return Mnemonic('english').make_seed(num_bits=256, prefix=SEED_PREFIX)
@@ -404,3 +402,4 @@ class TrustedCoinPlugin(BasePlugin):
if self.setup_google_auth(window, short_id, otp_secret):
wallet.add_master_public_key('x3/', xpub3)
+ wallet.create_main_account(None)