Trezor plugin: Sort multisig pubkeys before signing

See issue #2550
This commit is contained in:
Mqrius 2017-06-25 14:26:26 +01:00 committed by GitHub
parent df4e81d690
commit a4e49c2d8b
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class TrezorCompatibleKeyStore(Hardware_KeyStore):
# path of the xpubs that are involved
xpub_path = {}
for txin in tx.inputs():
pubkeys, x_pubkeys = tx.get_sorted_pubkeys(txin)
tx_hash = txin['prevout_hash']
prev_tx[tx_hash] = txin['prev_tx']
for x_pubkey in txin['x_pubkeys']: