Skip to content

Commit

Permalink
Merge 5bb02c1 into 72049af
Browse files Browse the repository at this point in the history
  • Loading branch information
belikor committed Sep 4, 2021
2 parents 72049af + 5bb02c1 commit 92b884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/extras/daemon/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2507,7 +2507,7 @@ async def jsonrpc_claim_search(self, **kwargs):
kwargs['signature_valid'] = 0
if 'has_no_source' in kwargs:
kwargs['has_source'] = not kwargs.pop('has_no_source')
page_num, page_size = abs(kwargs.pop('page', 1)), min(abs(kwargs.pop('page_size', DEFAULT_PAGE_SIZE)), 50)
page_num, page_size = abs(kwargs.pop('page', 1)), abs(kwargs.pop('page_size', DEFAULT_PAGE_SIZE))
kwargs.update({'offset': page_size * (page_num - 1), 'limit': page_size})
txos, blocked, _, total = await self.ledger.claim_search(wallet.accounts, **kwargs)
result = {
Expand Down

0 comments on commit 92b884b

Please sign in to comment.