feat: Only convert namehash to name via cache to make loading quicker

This commit is contained in:
2025-06-27 14:34:46 +10:00
parent df09a32280
commit 0e7a72a136
2 changed files with 86 additions and 24 deletions

View File

@@ -1605,7 +1605,7 @@ def api_wallet(function):
if not force_refresh and cache_key in tx_cache and (current_time - tx_cache[cache_key]['time'] < TX_CACHE_TIMEOUT):
transactions = tx_cache[cache_key]['data']
txCount = len(transactions)
transactions_html = tx_cache[cache_key]['html']
transactions_html = render.transactions(transactions)
else:
# Fetch transactions from account module
transactions = account_module.getTransactions(account, page)