Browse Source

Merge pull request #3191 from SomberNight/import_addr_valid_addr

fix: import_address() for Imported_Wallet
3.0.x
ThomasV 7 years ago
committed by GitHub
parent
commit
ca11929de0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -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…
Cancel
Save