URI: 
       tworkaround inefficiency in add_input_info - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 63cff71f91f3c436ae4e33b9ee65fa7ef12986d8
   DIR parent 0e326387654d610a23a6a1e19094c2764d763582
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed,  4 Jan 2017 15:17:11 +0100
       
       workaround inefficiency in add_input_info
       
       Diffstat:
         M lib/wallet.py                       |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1049,8 +1049,8 @@ class Abstract_Wallet(PrintError):
        
            def add_input_info(self, txin):
                # Add address for utxo that are in wallet
       -        coins = self.get_spendable_coins()
                if txin.get('scriptSig') == '':
       +            coins = self.get_spendable_coins()
                    for item in coins:
                        if txin.get('prevout_hash') == item.get('prevout_hash') and txin.get('prevout_n') == item.get('prevout_n'):
                            txin['address'] = item.get('address')