mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
use history to determine if the wallet has been used
This commit is contained in:
parent
2cb5b14b9b
commit
e4dc3f3752
1 changed files with 2 additions and 1 deletions
|
@ -336,7 +336,8 @@ class Wallet:
|
||||||
|
|
||||||
|
|
||||||
def is_found(self):
|
def is_found(self):
|
||||||
return (len(self.change_addresses) > self.gap_limit_for_change ) or ( len(self.addresses) > self.gap_limit )
|
return self.history.values() != [[]] * len(self.history)
|
||||||
|
|
||||||
|
|
||||||
def fill_addressbook(self):
|
def fill_addressbook(self):
|
||||||
for tx_hash, tx in self.transactions.items():
|
for tx_hash, tx in self.transactions.items():
|
||||||
|
|
Loading…
Add table
Reference in a new issue