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