This commit is contained in:
2026-07-24 19:00:15 +03:00
parent 14aacbcd0b
commit b6025bf9ac

View File

@@ -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