From b6025bf9ac35a4ba428b6348919063e05002c8a1 Mon Sep 17 00:00:00 2001 From: rassadin11 Date: Fri, 24 Jul 2026 19:00:15 +0300 Subject: [PATCH] fix --- src/widgets/send-modal/ui/SendModal.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/widgets/send-modal/ui/SendModal.tsx b/src/widgets/send-modal/ui/SendModal.tsx index 7c3149b..1454d7b 100644 --- a/src/widgets/send-modal/ui/SendModal.tsx +++ b/src/widgets/send-modal/ui/SendModal.tsx @@ -11,6 +11,9 @@ export interface SendModalToken { logo?: string color: string bal: string + /** Network this balance row belongs to. Tickers repeat across chains + * (USDT on ETH/SOL/TRX/…), so the "Макс" lookup must match on it too. */ + chain?: Chain } interface Props { @@ -57,7 +60,9 @@ export function SendModal({ open, onClose, network, tokens = [], initialToken = const isNative = selectedToken === '' const tokenLabel = isNative ? cfg.nativeSymbol : selectedToken const walletMatch = tokens.find( - (t) => t.ticker === (isNative ? cfg.nativeSymbol : selectedToken), + (t) => + t.ticker === (isNative ? cfg.nativeSymbol : selectedToken) && + (t.chain === undefined || t.chain === network), ) // Estimated native-coin network fee for the current chain/speed. Shown at the