fix bug in trustedcoin constructor

This commit is contained in:
ThomasV 2016-09-02 10:28:52 +02:00
parent 1e4cdab096
commit 7a47d2341e
2 changed files with 1 additions and 2 deletions

View File

@ -1539,7 +1539,6 @@ wallet_constructors = {
def register_constructor(wallet_type, constructor):
wallet_constructors[wallet_type] = constructor
# former WalletFactory
class Wallet(object):
"""The main wallet "entry point".

View File

@ -451,7 +451,7 @@ class TrustedCoinPlugin(BasePlugin):
wizard.storage.put('x3/', k3.dump())
wizard.storage.put('use_trustedcoin', True)
wizard.storage.write()
wizard.wallet = Wallet(wizard.storage)
wizard.wallet = Wallet_2fa(wizard.storage)
wizard.run('create_addresses')
@hook