mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-20 01:19:49 +00:00
Merge pull request #898 from Tafelpoot/tx_fix
fixed access to tx.error in case tx is None
This commit is contained in:
commit
c226b29ff4
1 changed files with 4 additions and 1 deletions
|
@ -1079,6 +1079,9 @@ class ElectrumWindow(QMainWindow):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.make_unsigned_transaction(outputs, fee, None, coins = coins)
|
tx = self.wallet.make_unsigned_transaction(outputs, fee, None, coins = coins)
|
||||||
|
if not tx:
|
||||||
|
raise BaseException(_("Insufficient funds"))
|
||||||
|
else:
|
||||||
tx.error = None
|
tx.error = None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
|
|
Loading…
Add table
Reference in a new issue