|
|
|
@ -39,7 +39,7 @@ from electrum.i18n import _ |
|
|
|
from electrum.plugin import run_hook |
|
|
|
from electrum.plugin import run_hook |
|
|
|
from electrum import simple_config |
|
|
|
from electrum import simple_config |
|
|
|
from electrum.util import bfh |
|
|
|
from electrum.util import bfh |
|
|
|
from electrum.transaction import SerializationError |
|
|
|
from electrum.transaction import SerializationError, Transaction |
|
|
|
|
|
|
|
|
|
|
|
from .util import * |
|
|
|
from .util import * |
|
|
|
|
|
|
|
|
|
|
|
@ -73,7 +73,7 @@ class TxDialog(QDialog, MessageBoxMixin): |
|
|
|
# Take a copy; it might get updated in the main window by |
|
|
|
# Take a copy; it might get updated in the main window by |
|
|
|
# e.g. the FX plugin. If this happens during or after a long |
|
|
|
# e.g. the FX plugin. If this happens during or after a long |
|
|
|
# sign operation the signatures are lost. |
|
|
|
# sign operation the signatures are lost. |
|
|
|
self.tx = tx = copy.deepcopy(tx) |
|
|
|
self.tx = tx = copy.deepcopy(tx) # type: Transaction |
|
|
|
try: |
|
|
|
try: |
|
|
|
self.tx.deserialize() |
|
|
|
self.tx.deserialize() |
|
|
|
except BaseException as e: |
|
|
|
except BaseException as e: |
|
|
|
|