commit 8347ad5449e757d96724faee6cad420ec195931c
parent 692d215f26a2f31bd9ae1d56f7e493299d6481da
Author: ThomasV <thomasv@gitorious>
Date: Fri, 24 Oct 2014 07:49:20 +0200
fix hardware plugins with tx.error
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py
@@ -92,6 +92,7 @@ class Plugin(BasePlugin):
@hook
def send_tx(self, tx):
+ tx.error = None
try:
self.wallet.sign_transaction(tx, None, None)
except Exception as e:
diff --git a/plugins/trezor.py b/plugins/trezor.py
@@ -119,6 +119,7 @@ class Plugin(BasePlugin):
@hook
def send_tx(self, tx):
+ tx.error = None
try:
self.wallet.sign_transaction(tx, None, None)
except Exception as e: