URI: 
       tfollow-up #3621 (trezor plugin changes for trezorlib 0.9.0) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7cf547c4b812a2b0d899038acbd6252a40d45ed7
   DIR parent ffcb926a1594afd871901efbbaf31e4b7ca309d0
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue,  9 Jan 2018 16:39:39 +0100
       
       follow-up #3621 (trezor plugin changes for trezorlib 0.9.0)
       
       Diffstat:
         M plugins/trezor/plugin.py            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py
       t@@ -319,7 +319,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
                        addrtype, hash_160 = b58_address_to_hash160(address)
                        index, xpubs, m = info
                        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)
                            txoutputtype = self.types.TxOutputType(
                                amount = amount,