From 8347ad5449e757d96724faee6cad420ec195931c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 24 Oct 2014 07:49:20 +0200 Subject: [PATCH] fix hardware plugins with tx.error --- plugins/btchipwallet.py | 1 + plugins/trezor.py | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py index bd787685..3bd0744b 100644 --- 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 index 6d3e4b1b..95c4cda0 100644 --- 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: