mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Merge pull request #3191 from SomberNight/import_addr_valid_addr
fix: import_address() for Imported_Wallet
This commit is contained in:
commit
ca11929de0
1 changed files with 2 additions and 0 deletions
|
@ -1455,6 +1455,8 @@ class Imported_Wallet(Simple_Wallet):
|
|||
return []
|
||||
|
||||
def import_address(self, address):
|
||||
if not bitcoin.is_address(address):
|
||||
return ''
|
||||
if address in self.addresses:
|
||||
return ''
|
||||
self.addresses[address] = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue