Merge pull request #3191 from SomberNight/import_addr_valid_addr
fix: import_address() for Imported_Wallet
This commit is contained in:
commit
ca11929de0
|
@ -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…
Reference in New Issue