Browse Source

Merge pull request #898 from Tafelpoot/tx_fix

fixed access to tx.error in case tx is None
283
ThomasV 10 years ago
parent
commit
c226b29ff4
  1. 5
      gui/qt/main_window.py

5
gui/qt/main_window.py

@ -1079,7 +1079,10 @@ class ElectrumWindow(QMainWindow):
try:
tx = self.wallet.make_unsigned_transaction(outputs, fee, None, coins = coins)
tx.error = None
if not tx:
raise BaseException(_("Insufficient funds"))
else:
tx.error = None
except Exception as e:
traceback.print_exc(file=sys.stdout)
self.show_message(str(e))

Loading…
Cancel
Save