Reduce limit on transaction list by account

This commit is contained in:
godmodegalactus 2023-12-15 20:29:09 +01:00
parent b021bede2f
commit 77fec4eaf7
No known key found for this signature in database
GPG Key ID: 22DA4A30887FDA3C
1 changed files with 2 additions and 2 deletions

View File

@ -55,9 +55,9 @@ def find_transaction_by_sig(tx_sig: str):
# return (rows, is_limit_exceeded)
def query_transactions_by_address(account_key: str) -> (list, bool):
maprows = run_query(transaction_row_limit=501, filter_account_address=account_key)
maprows = run_query(transaction_row_limit=100, filter_account_address=account_key)
if len(maprows) == 501:
if len(maprows) == 100:
print("limit exceeded while searching for transactions by address")
return maprows, True