mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user