commit 494d7faa22cba4313039b6cff198181b1bafb5de
parent 7a47d2341ecd3a33a0a7a9728320974eba37c87b
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 2 Sep 2016 10:38:56 +0200
fix: get_action
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
@@ -456,6 +456,8 @@ class TrustedCoinPlugin(BasePlugin):
@hook
def get_action(self, storage):
+ if storage.get('wallet_type') != '2fa':
+ return
if not storage.get('x1/'):
return self, 'show_disclaimer'
if not storage.get('x2/'):