URI: 
       tMerge pull request #2865 from SomberNight/get_preimage_script - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit dd2b7e4d89dcf0e61bb12bb1505fa30b0b8ead4c
   DIR parent 60c1c6ccebcc7c62e72ff0b14b773ed6a77b0c8d
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 12 Sep 2017 18:08:03 +0200
       
       Merge pull request #2865 from SomberNight/get_preimage_script
       
       fix unresolved variable
       Diffstat:
         M lib/transaction.py                  |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/transaction.py b/lib/transaction.py
       t@@ -667,7 +667,7 @@ class Transaction:
                    pkh = bh2u(bitcoin.hash_160(bfh(pubkey)))
                    return '76a9' + push_script(pkh) + '88ac'
                else:
       -            raise TypeError('Unknown txin type', _type)
       +            raise TypeError('Unknown txin type', txin['type'])
        
            @classmethod
            def serialize_outpoint(self, txin):