Merge pull request #2554 from Mqrius/master

Trezor plugin: Sort multisig pubkeys before signing
This commit is contained in:
ThomasV 2017-06-27 10:59:01 +02:00 committed by GitHub
commit b522c4403e
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']: