From 7a47d2341ecd3a33a0a7a9728320974eba37c87b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 2 Sep 2016 10:28:52 +0200 Subject: [PATCH] fix bug in trustedcoin constructor --- lib/wallet.py | 1 - plugins/trustedcoin/trustedcoin.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 4f25e742f..a97c3605c 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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". diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py index b2b715e1d..84940472e 100644 --- a/plugins/trustedcoin/trustedcoin.py +++ b/plugins/trustedcoin/trustedcoin.py @@ -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