fix bug in trustedcoin constructor
This commit is contained in:
@@ -1539,7 +1539,6 @@ wallet_constructors = {
|
|||||||
def register_constructor(wallet_type, constructor):
|
def register_constructor(wallet_type, constructor):
|
||||||
wallet_constructors[wallet_type] = constructor
|
wallet_constructors[wallet_type] = constructor
|
||||||
|
|
||||||
|
|
||||||
# former WalletFactory
|
# former WalletFactory
|
||||||
class Wallet(object):
|
class Wallet(object):
|
||||||
"""The main wallet "entry point".
|
"""The main wallet "entry point".
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ class TrustedCoinPlugin(BasePlugin):
|
|||||||
wizard.storage.put('x3/', k3.dump())
|
wizard.storage.put('x3/', k3.dump())
|
||||||
wizard.storage.put('use_trustedcoin', True)
|
wizard.storage.put('use_trustedcoin', True)
|
||||||
wizard.storage.write()
|
wizard.storage.write()
|
||||||
wizard.wallet = Wallet(wizard.storage)
|
wizard.wallet = Wallet_2fa(wizard.storage)
|
||||||
wizard.run('create_addresses')
|
wizard.run('create_addresses')
|
||||||
|
|
||||||
@hook
|
@hook
|
||||||
|
|||||||
Reference in New Issue
Block a user