1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
trezor-firmware/python/.changelog.d/1442.changed
Andrew Chow 23a09fc047 feat(python): Raise ValueError for non-existant tx hashes
If the device asks for a tx_hash which is not present in prev_txes,
raise a ValueError with some more detailed messaging about the missing
hash rather than the default dictionary lookup failure of KeyError.
2021-12-07 16:55:58 +01:00

2 lines
97 B
Plaintext

Raise `ValueError` when the txid for an input is not present in `prev_txes` during `btc.sign_tx`