fix hardware plugins with tx.error
This commit is contained in:
parent
692d215f26
commit
8347ad5449
|
@ -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:
|
||||||
|
|
|
@ -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…
Reference in New Issue