fix bug in trustedcoin constructor
This commit is contained in:
parent
1e4cdab096
commit
7a47d2341e
|
@ -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".
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue