mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
trustedcoin: request billing info after resetting it
This commit is contained in:
parent
9b2d939853
commit
1279b6e94c
1 changed files with 2 additions and 0 deletions
|
@ -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']
|
||||||
|
|
Loading…
Add table
Reference in a new issue