mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
fix is_change
This commit is contained in:
parent
87b94b3ccc
commit
7e0d4a2851
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ class Wallet:
|
|||
return address in self.addresses(True)
|
||||
|
||||
def is_change(self, address):
|
||||
if not self.is_mine(address): return False
|
||||
if address in self.imported_keys.keys(): return False
|
||||
acct, s = self.get_address_index(address)
|
||||
return s[0] == 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue