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:
parent
b88e4e5d5a
commit
4622ee32bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user