mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-07 19:19:48 +00:00
follow-up #3621 (trezor plugin changes for trezorlib 0.9.0)
This commit is contained in:
parent
ffcb926a15
commit
7cf547c4b8
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
|
||||||
addrtype, hash_160 = b58_address_to_hash160(address)
|
addrtype, hash_160 = b58_address_to_hash160(address)
|
||||||
index, xpubs, m = info
|
index, xpubs, m = info
|
||||||
if len(xpubs) == 1:
|
if len(xpubs) == 1:
|
||||||
script_type = self.types.PAYTOP2SHWITNESS if segwit else self.types.PAYTOADDRESS
|
script_type = self.types.OutputScriptType.PAYTOP2SHWITNESS if segwit else self.types.OutputScriptType.PAYTOADDRESS
|
||||||
address_n = self.client_class.expand_path(derivation + "/%d/%d"%index)
|
address_n = self.client_class.expand_path(derivation + "/%d/%d"%index)
|
||||||
txoutputtype = self.types.TxOutputType(
|
txoutputtype = self.types.TxOutputType(
|
||||||
amount = amount,
|
amount = amount,
|
||||||
|
|
Loading…
Add table
Reference in a new issue