mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix: don't raise exception in get_address_index
This commit is contained in:
parent
6609624fe0
commit
cc8c7c780d
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Wallet:
|
|||
|
||||
def get_address_index(self, address):
|
||||
if address in self.imported_keys.keys():
|
||||
raise BaseException("imported key")
|
||||
return -1, None
|
||||
for account in self.accounts.keys():
|
||||
for for_change in [0,1]:
|
||||
addresses = self.accounts[account][for_change]
|
||||
|
|
Loading…
Add table
Reference in a new issue