commit 1279b6e94c332266656e61e9bd50c9c5004588a4
parent 9b2d939853d923b2dd9c410be96c6b5344de1238
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 27 Jun 2018 20:17:59 +0200
trustedcoin: request billing info after resetting it
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py
@@ -296,6 +296,7 @@ class Wallet_2fa(Multisig_Wallet):
self.print_error("twofactor: is complete", tx.is_complete())
# reset billing_info
self.billing_info = None
+ self.plugin.start_request_thread(self)
@@ -366,6 +367,7 @@ class TrustedCoinPlugin(BasePlugin):
return
if wallet.billing_info is None:
if not wallet.can_sign_without_server():
+ self.start_request_thread(wallet)
raise Exception('missing trustedcoin billing info')
return None
address = wallet.billing_info['billing_address']