mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-10-31 20:39:48 +00:00
lisk: fix _update_raw_tx function for second signature calculation (#348)
This commit is contained in:
parent
25d00ab08c
commit
e1eb405ed7
@ -54,7 +54,8 @@ def _update_raw_tx(transaction, pubkey):
|
||||
# For CastVotes transactions, recipientId should be equal to transaction
|
||||
# creator address.
|
||||
if transaction.type == LiskTransactionType.CastVotes:
|
||||
transaction.recipient_id = get_address_from_public_key(pubkey)
|
||||
if not transaction.recipient_id:
|
||||
transaction.recipient_id = get_address_from_public_key(pubkey)
|
||||
|
||||
return transaction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user