Skip to content

Commit

Permalink
hotfix gateway txns crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoConti committed Dec 19, 2024
1 parent ed32853 commit 27cdd7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/Tx/Information/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ const Information = ({
const fromChain = (isGatewaySource ? gatewayInfo?.originChainId : fromChainOrig) as ChainId;
const toChain: ChainId = parsedPayload?.["gateway_transfer"]?.chain
? chainToChainId(parsedPayload?.["gateway_transfer"].chain)
? chainToChainId(parsedPayload?.["gateway_transfer"].chain)
: parsedPayload?.["gateway_transfer"].chain
: stdToChain || data?.targetChain?.chainId || 0;

const parsedOriginAddress = isGatewaySource
Expand Down

0 comments on commit 27cdd7b

Please sign in to comment.