fix: get_action

This commit is contained in:
ThomasV 2016-09-02 10:38:56 +02:00
parent 7a47d2341e
commit 494d7faa22
1 changed files with 2 additions and 0 deletions

View File

@ -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/'):