diff --git a/utils/utils.go b/utils/utils.go index 419536a6af..7a8c930b76 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -1235,7 +1235,9 @@ func FormatTokenSymbolTitle(symbol string) string { urls := xurls.Relaxed.FindAllString(symbol, -1) if len(urls) > 0 { - return "The token symbol has been hidden as it contains a URL which might be a scam" + return fmt.Sprintf("The token symbol has been hidden as it contains a URL (%s) which might be a scam", symbol) + } else if symbol == "ETH" { + return fmt.Sprintf("The token symbol has been hidden as it contains a Token name (%s) which might be a scam", symbol) } return "" } @@ -1243,8 +1245,9 @@ func FormatTokenSymbolTitle(symbol string) string { func FormatTokenSymbol(symbol string) string { urls := xurls.Relaxed.FindAllString(symbol, -1) - if len(urls) > 0 { - return "[hidden-symbol]" + if len(urls) > 0 || + symbol == "ETH" { + return "[hidden-symbol] ⚠️" } return symbol }