SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
6 additions and
2 deletions
-
electrum/plugins/cosigner_pool/qt.py
|
|
@ -34,7 +34,7 @@ import certifi |
|
|
|
|
|
|
|
from electrum import util, keystore, ecc, crypto |
|
|
|
from electrum import transaction |
|
|
|
from electrum.transaction import Transaction, PartialTransaction, tx_from_any |
|
|
|
from electrum.transaction import Transaction, PartialTransaction, tx_from_any, SerializationError |
|
|
|
from electrum.bip32 import BIP32Node |
|
|
|
from electrum.plugin import BasePlugin, hook |
|
|
|
from electrum.i18n import _ |
|
|
@ -248,5 +248,9 @@ class Plugin(BasePlugin): |
|
|
|
return |
|
|
|
|
|
|
|
self.listener.clear(keyhash) |
|
|
|
tx = tx_from_any(message) |
|
|
|
try: |
|
|
|
tx = tx_from_any(message) |
|
|
|
except SerializationError as e: |
|
|
|
window.show_error(_("Electrum was unable to deserialize the transaction:") + "\n" + str(e)) |
|
|
|
return |
|
|
|
show_transaction(tx, parent=window, prompt_if_unsaved=True) |
|
|
|