mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-18 11:21:11 +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)
|
raise wire.FailureError(*e.args)
|
||||||
except signing.AddressError as e:
|
except signing.AddressError as e:
|
||||||
raise wire.FailureError(*e.args)
|
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.__qualname__ == 'TxRequest':
|
||||||
if req.request_type == TXFINISHED:
|
if req.request_type == TXFINISHED:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user