trustedcoin: request billing info after resetting it

This commit is contained in:
SomberNight 2018-06-27 20:17:59 +02:00 committed by ThomasV
parent 9b2d939853
commit 1279b6e94c

View file

@ -296,6 +296,7 @@ class Wallet_2fa(Multisig_Wallet):
self.print_error("twofactor: is complete", tx.is_complete()) self.print_error("twofactor: is complete", tx.is_complete())
# reset billing_info # reset billing_info
self.billing_info = None self.billing_info = None
self.plugin.start_request_thread(self)
@ -366,6 +367,7 @@ class TrustedCoinPlugin(BasePlugin):
return return
if wallet.billing_info is None: if wallet.billing_info is None:
if not wallet.can_sign_without_server(): if not wallet.can_sign_without_server():
self.start_request_thread(wallet)
raise Exception('missing trustedcoin billing info') raise Exception('missing trustedcoin billing info')
return None return None
address = wallet.billing_info['billing_address'] address = wallet.billing_info['billing_address']