another
This commit is contained in:
parent
2c489168c2
commit
923cfa3d50
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ class Account:
|
||||||
def get_public_key(self, chain: int, index: int) -> PubKey:
|
def get_public_key(self, chain: int, index: int) -> PubKey:
|
||||||
return self.address_managers[chain].get_public_key(index)
|
return self.address_managers[chain].get_public_key(index)
|
||||||
|
|
||||||
def get_balance(self, confirmations: int = 0, include_claims=False, read_only=False, **constraints):
|
def get_balance(self, confirmations=0, include_claims=False, read_only=False, **constraints):
|
||||||
if not include_claims:
|
if not include_claims:
|
||||||
constraints.update({'txo_type__in': (0, TXO_TYPES['purchase'])})
|
constraints.update({'txo_type__in': (0, TXO_TYPES['purchase'])})
|
||||||
if confirmations > 0:
|
if confirmations > 0:
|
||||||
|
|
Loading…
Reference in a new issue