1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

Merge pull request #451 from trezor/matejcik/extra-data

wallet/signing: clear extra_data fields after we're done with them
This commit is contained in:
Jan Pochyla 2019-01-09 15:32:50 +01:00 committed by GitHub
commit 6332112f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
Pipfile.lock generated
View File

@ -568,7 +568,7 @@
"trezor": {
"editable": true,
"git": "https://github.com/trezor/python-trezor",
"ref": "369b704f6bf60e510e1fcb03b021ff1866894459"
"ref": "master"
},
"typing-extensions": {
"hashes": [

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