tfix #700 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2ed292176ec97e0d46c97f4e9e58e529ea3c1b71 DIR parent adb53e4c41e5049a68f0d3050d82825198f6a111 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 21 May 2014 23:59:24 +0200 fix #700 Diffstat: M gui/qt/main_window.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1765,14 +1765,13 @@ class ElectrumWindow(QMainWindow): try: tx_dict = json.loads(str(txt)) assert "hex" in tx_dict.keys() - assert "complete" in tx_dict.keys() - tx = Transaction(tx_dict["hex"], tx_dict["complete"]) - if not tx_dict["complete"]: - assert "input_info" in tx_dict.keys() + tx = Transaction(tx_dict["hex"]) + if tx_dict.has_key("input_info"): input_info = json.loads(tx_dict['input_info']) tx.add_input_info(input_info) return tx except Exception: + traceback.print_exc(file=sys.stdout) pass QMessageBox.critical(None, _("Unable to parse transaction"), _("Electrum was unable to parse your transaction"))