reduce diff

This commit is contained in:
Lex Berezhny 2020-09-04 15:37:45 -04:00
parent c5fd9643f1
commit 6484894b36

View file

@ -2762,8 +2762,8 @@ class API:
""" """
txo_dict, kwargs = pop_kwargs('txo_filter', txo_filter_kwargs(**txo_filter_and_pagination_kwargs)) txo_dict, kwargs = pop_kwargs('txo_filter', txo_filter_kwargs(**txo_filter_and_pagination_kwargs))
pagination, kwargs = pop_kwargs('pagination', pagination_kwargs(**kwargs)) pagination, kwargs = pop_kwargs('pagination', pagination_kwargs(**kwargs))
wallet = self.wallets.get_or_default(kwargs.pop('wallet_id'))
assert_consumed_kwargs(kwargs) assert_consumed_kwargs(kwargs)
wallet = self.wallets.get_or_default(kwargs.pop('wallet_id'))
accounts = wallet.accounts.get_or_all(txo_dict.pop('account_id')) accounts = wallet.accounts.get_or_all(txo_dict.pop('account_id'))
constraints = { constraints = {
'resolve': resolve, 'resolve': resolve,