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:
parent
6801b61514
commit
af494a65b8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user