pylint dict comp
This commit is contained in:
parent
6c6050528a
commit
1d090765ba
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class BaseDatabase(SQLiteMixin):
|
|||
row[1], height=row[2], position=row[3], is_verified=row[4]
|
||||
)
|
||||
txo = txs[row[0]].outputs[row[5]]
|
||||
row_accounts = dict([a.split('|') for a in row[8].split(',')])
|
||||
row_accounts = {k: v for k, v in (a.split('|') for a in row[8].split(','))}
|
||||
account_match = set(row_accounts) & my_accounts
|
||||
if account_match:
|
||||
txo.is_my_account = True
|
||||
|
|
Loading…
Reference in a new issue