Browse Source
trustedcoin: request billing info after resetting it
3.2.x
SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
0 deletions
-
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'] |
|
|
|