v5.4.0 Release Candidate (#2505)

* v5.4.0 Release Candidate (without new contacts flow)

* uncomment potential scam [skip ci]
This commit is contained in:
Omar Hatem
2025-09-09 03:48:05 +03:00
committed by GitHub
parent c61215683c
commit c3b61dfbfa
9 changed files with 27 additions and 25 deletions
@@ -242,6 +242,11 @@ class _EditTokenPageBodyState extends State<EditTokenPageBody> {
// check if the token symbol is the same as any of the base currencies symbols (ETH, SOL, POL, TRX, etc):
// if it is, then it's probably a scam unless it's in the whitelist
// ugh, should it be commented out?
// because there are some tokens that has the name of original currencies
// like: 0x455e53CBB86018Ac2B8092FdCd39d8444aFFC3F6
final baseCurrencySymbols =
CryptoCurrency.all.map((e) => e.title.toUpperCase()).toList();
if (baseCurrencySymbols.contains(tokenSymbol.trim().toUpperCase()) &&
@@ -1,8 +1,6 @@
import 'dart:convert';
import 'dart:developer';
import 'package:cake_wallet/core/fiat_conversion_service.dart';
import 'package:cake_wallet/entities/erc20_token_info_explorers.dart';
import 'package:cake_wallet/entities/fiat_api_mode.dart';
import 'package:cake_wallet/entities/erc20_token_info_moralis.dart';
import 'package:cake_wallet/entities/sort_balance_types.dart';