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

wallet/signing: clear extra_data fields after we're done with them

otherwise the values are repeated in every subsequent TxRequest
This commit is contained in:
matejcik 2019-01-09 14:39:26 +01:00
parent e1946509e8
commit 48da28b41e

View File

@ -87,6 +87,8 @@ def request_tx_extra_data(
tx_req.details.request_index = None
ack = yield tx_req
tx_req.serialized = None
tx_req.details.extra_data_offset = None
tx_req.details.extra_data_len = None
return ack.tx.extra_data