1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

lisk: fix raw transaction fields update

This commit is contained in:
Aleksey Popov 2018-08-18 17:38:45 +03:00 committed by Pavol Rusnak
parent 6801b61514
commit af494a65b8

View File

@ -47,7 +47,9 @@ async def _get_keys(ctx, msg):
def _update_raw_tx(transaction, pubkey):
transaction.sender_public_key = pubkey
# If device is using for second signature sender_public_key must be exist in transaction
if not transaction.sender_public_key:
transaction.sender_public_key = pubkey
# For CastVotes transactions, recipientId should be equal to transaction
# creator address.