Browse Source

fix hardware plugins with tx.error

283
ThomasV 10 years ago
parent
commit
8347ad5449
  1. 1
      plugins/btchipwallet.py
  2. 1
      plugins/trezor.py

1
plugins/btchipwallet.py

@ -92,6 +92,7 @@ class Plugin(BasePlugin):
@hook @hook
def send_tx(self, tx): def send_tx(self, tx):
tx.error = None
try: try:
self.wallet.sign_transaction(tx, None, None) self.wallet.sign_transaction(tx, None, None)
except Exception as e: except Exception as e:

1
plugins/trezor.py

@ -119,6 +119,7 @@ class Plugin(BasePlugin):
@hook @hook
def send_tx(self, tx): def send_tx(self, tx):
tx.error = None
try: try:
self.wallet.sign_transaction(tx, None, None) self.wallet.sign_transaction(tx, None, None)
except Exception as e: except Exception as e:

Loading…
Cancel
Save