URI: 
       tfix #4481 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3d0e830734e70960074d3444430f3d1d6cf673b0
   DIR parent 8591587f9ed9e055edd0205ab45e9412e52c0f63
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun,  1 Jul 2018 17:05:56 +0200
       
       fix #4481
       
       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@@ -1985,7 +1985,7 @@ class Imported_Wallet(Simple_Wallet):
                self.addresses.pop(address)
                if pubkey:
                    # delete key iff no other address uses it (e.g. p2pkh and p2wpkh for same key)
       -            for txin_type in bitcoin.SCRIPT_TYPES.keys():
       +            for txin_type in bitcoin.WIF_SCRIPT_TYPES.keys():
                        try:
                            addr2 = bitcoin.pubkey_to_address(txin_type, pubkey)
                        except NotImplementedError: