|
|
|
@ -36,7 +36,7 @@ class Plugin(TrustedCoinPlugin): |
|
|
|
if not wallet.can_sign_without_server(): |
|
|
|
if not wallet.can_sign_without_server(): |
|
|
|
self.logger.info("twofactor:sign_tx") |
|
|
|
self.logger.info("twofactor:sign_tx") |
|
|
|
auth_code = None |
|
|
|
auth_code = None |
|
|
|
if wallet.keystores['x3/'].can_sign(tx, ignore_watching_only=True): |
|
|
|
if wallet.keystores['x3'].can_sign(tx, ignore_watching_only=True): |
|
|
|
msg = _('Please enter your Google Authenticator code:') |
|
|
|
msg = _('Please enter your Google Authenticator code:') |
|
|
|
auth_code = int(input(msg)) |
|
|
|
auth_code = int(input(msg)) |
|
|
|
else: |
|
|
|
else: |
|
|
|
|