Skip to content

Commit

Permalink
Merge pull request #388 from aura-nw/dev
Browse files Browse the repository at this point in the history
fix send ibc
  • Loading branch information
hoangndm3139 authored Apr 2, 2024
2 parents 20f542d + d6ab1ea commit b4bec64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/Transactions/TxActionModal/Send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export default function Execute({ open, onClose, data, sendTx, rejectTx, disable

const isNativeToken = data?.txDetails?.txMessage[0]?.denom === coinConfig?.find((e) => e?.type === 'native')?.denom
const otherToken = coinConfig?.find(
(e) => (e?.denom ?? e?.cosmosDenom ?? e?.symbol) === data?.txDetails?.txMessage[0]?.denom,
(e) =>
e?.denom === data?.txDetails?.txMessage[0]?.denom ||
e?.symbol === data?.txDetails?.txMessage[0]?.denom ||
e?.cosmosDenom === data?.txDetails?.txMessage[0]?.denom,
)

const amount = isNativeToken
Expand Down

0 comments on commit b4bec64

Please sign in to comment.