diff --git a/tubbymemes/filters.py b/tubbymemes/filters.py index 168225b..e3dda86 100644 --- a/tubbymemes/filters.py +++ b/tubbymemes/filters.py @@ -21,11 +21,8 @@ def humanize(d): return arrow_get(d).humanize() @bp.app_template_filter() -def show_snowtrace(s) -> str: +def show_etherscan(s) -> str: """ Return proper links to Etherscan based upon the currently configured network. """ - if config.CONTRACT_TESTNET: - return f'https://testnet.snowtrace.io/search?f=0&q={s}' - else: - return f'https://snowtrace.io/search?f=0&q={s}' + return f'https://etherscan.io/address/{s}'