reduce diff 2

This commit is contained in:
Lex Berezhny 2020-09-04 15:38:31 -04:00
parent 6484894b36
commit 28413742cc

View file

@ -2763,7 +2763,7 @@ 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))
assert_consumed_kwargs(kwargs) assert_consumed_kwargs(kwargs)
wallet = self.wallets.get_or_default(kwargs.pop('wallet_id')) wallet = self.wallets.get_or_default(txo_dict.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,