mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #4481
This commit is contained in:
parent
8591587f9e
commit
3d0e830734
1 changed files with 1 additions and 1 deletions
|
@ -1985,7 +1985,7 @@ class Imported_Wallet(Simple_Wallet):
|
||||||
self.addresses.pop(address)
|
self.addresses.pop(address)
|
||||||
if pubkey:
|
if pubkey:
|
||||||
# delete key iff no other address uses it (e.g. p2pkh and p2wpkh for same key)
|
# 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:
|
try:
|
||||||
addr2 = bitcoin.pubkey_to_address(txin_type, pubkey)
|
addr2 = bitcoin.pubkey_to_address(txin_type, pubkey)
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
|
|
Loading…
Add table
Reference in a new issue