1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

signing: export more errors to client

This commit is contained in:
Jan Pochyla 2018-02-26 14:30:14 +01:00
parent b88e4e5d5a
commit 4622ee32bc

View File

@ -21,6 +21,10 @@ async def sign_tx(ctx, msg):
raise wire.FailureError(*e.args)
except signing.AddressError as e:
raise wire.FailureError(*e.args)
except signing.ScriptsError as e:
raise wire.FailureError(*e.args)
except signing.Bip143Error as e:
raise wire.FailureError(*e.args)
if req.__qualname__ == 'TxRequest':
if req.request_type == TXFINISHED:
break