mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
Merge pull request #2554 from Mqrius/master
Trezor plugin: Sort multisig pubkeys before signing
This commit is contained in:
commit
b522c4403e
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ class TrezorCompatibleKeyStore(Hardware_KeyStore):
|
||||||
# path of the xpubs that are involved
|
# path of the xpubs that are involved
|
||||||
xpub_path = {}
|
xpub_path = {}
|
||||||
for txin in tx.inputs():
|
for txin in tx.inputs():
|
||||||
|
pubkeys, x_pubkeys = tx.get_sorted_pubkeys(txin)
|
||||||
tx_hash = txin['prevout_hash']
|
tx_hash = txin['prevout_hash']
|
||||||
prev_tx[tx_hash] = txin['prev_tx']
|
prev_tx[tx_hash] = txin['prev_tx']
|
||||||
for x_pubkey in txin['x_pubkeys']:
|
for x_pubkey in txin['x_pubkeys']:
|
||||||
|
|
Loading…
Add table
Reference in a new issue