fix get_addresses where it was returned all addresses instead of for specific account
This commit is contained in:
parent
4aea68ecd1
commit
febadc5dd6
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ class BaseAccount:
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def get_addresses(self, **constraints) -> defer.Deferred:
|
||||
rows = yield self.ledger.db.select_addresses('address', **constraints)
|
||||
rows = yield self.ledger.db.select_addresses('address', account=self, **constraints)
|
||||
return [r[0] for r in rows]
|
||||
|
||||
def get_address_records(self, **constraints) -> defer.Deferred:
|
||||
|
|
Loading…
Add table
Reference in a new issue