1
0
This commit is contained in:
ThomasV
2016-03-20 19:05:38 +01:00
parent 753a28b452
commit 94dbfe6791
3 changed files with 8 additions and 5 deletions

View File

@@ -2244,9 +2244,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
def tx_from_text(self, txt):
from electrum.transaction import tx_from_str
from electrum.transaction import tx_from_str, Transaction
try:
return tx_from_str(txt)
tx = tx_from_str(txt)
return Transaction(tx)
except:
traceback.print_exc(file=sys.stdout)
self.show_critical(_("Electrum was unable to parse your transaction"))